socket reading and writing simultaneously

A general discussion forum.
thready
Posts: 39
Joined: 20 Jan 2010, 17:20

socket reading and writing simultaneously

Postby thready » 09 Jun 2010, 18:57

If I'm currently reading a large amount of data on my StreamSocket within a thread, and from another thread, I cause the same socket to sendBytes during the read, what will happen?

guenter
Posts: 1194
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: socket reading and writing simultaneously

Postby guenter » 10 Jun 2010, 13:24

What will happen depends on your operating system. It should work on Windows, Linux and OS-X from my experience.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests

cron