• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
accept() hangs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

accept() hangs


  • Subject: accept() hangs
  • From: Ken Baer <email@hidden>
  • Date: Sun, 9 Oct 2005 15:50:46 -0700

I am trying to set up communications between a server and a client. My client calls connect(), and my server is getting an Accept message and calls accept() with the SOCKET it got from the message callback. Then accept() hangs. On the client side, connect() returns 0 and the program continues, even before accept() is called on the server side.

The socket values seem correct, but I don't understand the behavior. If I run the client without the server, the connect() fails as I would expect it to.

I don't understand why accept() would hang in this situation.

-Ken Baer.
Hash, Inc.
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • socket() returning same value in shared library ( wasRe: accept() hangs)
      • From: Ken Baer <email@hidden>
    • Re: accept() hangs
      • From: "Justin C. Walker" <email@hidden>
  • Prev by Date: Networking Error in NSLMiniBrowser.
  • Next by Date: Re: accept() hangs
  • Previous by thread: Networking Error in NSLMiniBrowser.
  • Next by thread: Re: accept() hangs
  • Index(es):
    • Date
    • Thread