Socket Read/Write
-
I want to write data on a socket. Let suppose that just before i write data, some data arrives at the same socket to get read. Now under this condition, can i write on that socket OR I've to again check that no data available at that socket for read ???????
-
I want to write data on a socket. Let suppose that just before i write data, some data arrives at the same socket to get read. Now under this condition, can i write on that socket OR I've to again check that no data available at that socket for read ???????
bakhtawar wrote: Let suppose that just before i write data, some data arrives at the same socket to get read. Now under this condition, can i write on that socket Yes , you can! Internally there are two buffers, one for reading and one for writing. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)