SendAsync
daz001 opened this issue · 0 comments
Hi,
I've managed to implement NetGain as a complete replacement for Websocket-sharp for my mobile MMO game, it seems to completely work without any issues, but with Websocket-sharp, there were some packets that I was sending to clients that were none async - I need to guarantee order in these packets. I noticed that the TcpHandler sends all messages using the Socket.SendAsync method and I can't seem to find anything that handles orderering of packets being sent or waiting for an async send to complete before moving onto the next - I'm hoping I'm wrong though. Please can you confirm if guaranteed ordering of sends is implemented in some way?
Alternatively, would there be any sideeffects if I were to implement the Socket.Send method?
Many thanks,
Daryl