Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

SendAsync #23

Open
daz001 opened this issue Jan 7, 2019 · 0 comments
Open

SendAsync #23

daz001 opened this issue Jan 7, 2019 · 0 comments

Comments

@daz001
Copy link

daz001 commented Jan 7, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant