R
RobbKirk
Guest
Hello Fellas,
Please, help me with the answer.
I have been dealing with Socket class for years, but usually I used to apply ping-pong method, such as
1) send guaranteed 4 bytes of Int32 size value of the prepared to send data block
2) get some OK back
3) send data
4) get OK back
I'm tired of this tech. especially if the ping time is quite long..
I am still dreaming of how to send a garanteed block of data and be sure it will be received as a quant of data.. not as a group of quants..
Help me.. do you know any good way..
Is there any difference between Win32 socket usage and .NET Socket Class? Maybe Async Send/Receive will fix that?
"I = I + 1" .. Isn't it boolshit?
Continue reading...
Please, help me with the answer.
I have been dealing with Socket class for years, but usually I used to apply ping-pong method, such as
1) send guaranteed 4 bytes of Int32 size value of the prepared to send data block
2) get some OK back
3) send data
4) get OK back
I'm tired of this tech. especially if the ping time is quite long..
I am still dreaming of how to send a garanteed block of data and be sure it will be received as a quant of data.. not as a group of quants..
Help me.. do you know any good way..
Is there any difference between Win32 socket usage and .NET Socket Class? Maybe Async Send/Receive will fix that?
"I = I + 1" .. Isn't it boolshit?
Continue reading...