buffstreams icon indicating copy to clipboard operation
buffstreams copied to clipboard

Is order of packet recieve guaranteed ?

Open snsg opened this issue 5 years ago • 1 comments

Got a question - not so much an issue - am working with protobuffers that i want to stream over tcp - and i came across your project here which really sounds like the same - but if i would try to use this as base for :

  • a client streams a video to the server
  • the server sends the video stream to all connected clients ( except the sender )
  • the clients will show the video

Clients is a c-sharp application.

Would your project here guarantee the order in which the packets are sent or do i need to implement some ordering id in the packet ?

Would you think it will be fast enough ?

Would you have any idea how i could 'broadcast'an incoming stream onto all connected clients ?

And the fixes you committed will they become master soon ?

snsg avatar Sep 02 '20 06:09 snsg

Packet ordering is as the networking stack determines it. So for TCP, you should be fine.

I haven't had time to maintain this unfortunately, and I need to test the proposed fixes and simply haven't had time. I apologize for that.

StabbyCutyou avatar Nov 20 '20 20:11 StabbyCutyou