• 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
Simultaneous read() and write() on same TCP/IP socket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simultaneous read() and write() on same TCP/IP socket


  • Subject: Simultaneous read() and write() on same TCP/IP socket
  • From: Jonathon Kuo <email@hidden>
  • Date: Mon, 13 Dec 2010 18:37:50 -0800

I'm writing a multithreaded message store-and-forward app using Cocoa and TCP/IP sockets. One quick question: If I have a read() and a write() posted on the same socket from different background threads, is this going to work as I expect it to, basically that the one socket is full-duplex, so I won't be reading what I've written to the socket?

 _______________________________________________
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:
    • Re: Simultaneous read() and write() on same TCP/IP socket
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: Re: Browser filtering
  • Next by Date: Re: Browser filtering
  • Previous by thread: Wish you Happy New Year.
  • Next by thread: Re: Simultaneous read() and write() on same TCP/IP socket
  • Index(es):
    • Date
    • Thread