R
Ryan Liu
Hi,
As I remember theare are In and Out stream associate with a socket.
TcpClient seems there in only one NetworkStream to do both read and write.
Then will it be a conflicit if both side try to send data?
And when one end is sending data, if another end is not calling Recevive or
BeginReceive, will the sender be blocked? Or recevier side network hardware
will read anyway, just our high-end application has not take the data yet?
BTW, if one side use sychronous/asychronous way to receive and send, the
anthoer side does not have to be same, right?
Thanks a lot!
Ryan
As I remember theare are In and Out stream associate with a socket.
TcpClient seems there in only one NetworkStream to do both read and write.
Then will it be a conflicit if both side try to send data?
And when one end is sending data, if another end is not calling Recevive or
BeginReceive, will the sender be blocked? Or recevier side network hardware
will read anyway, just our high-end application has not take the data yet?
BTW, if one side use sychronous/asychronous way to receive and send, the
anthoer side does not have to be same, right?
Thanks a lot!
Ryan