Hi all ,
with BegeinReceive I can build async method of Socket Class
that Receive the data from the Socket Client .
My question is , if I have this code that create 3 Receive Async Call :
mySocket.BeginReceive(param1,param2,param3.....);
mySocket.BeginReceive(param1,param2,param3......);
mySocket.BeginReceive(param1,param2,param3......);
myThread.wait()
and If the Client Socket send my 3 async Message, what will happened ?
BeginReceive1, that receive message 1 ||| BeginReceive2, that receive message 2 ||| BeginReceive3, that receive message 3
BeginReceive1, that receive Message 1
BeginReceive2, that receive Message 2
BeginReceive3, that receive Message 3
The 3 SendMessage is listen at the same time from server ?
The server listen the Message1 with BeginReceive1,
server listen the Message 2 with BeginReceive2 when BeginReceive1 has finish to listen the Message 1
server listen the Message 3 with BeginReceive3 when BeginReceive 2 has finish to listen the Message 2 .
Thank all ,
Nov 15 '05
#
1