MitchellMarinoDev / carrier-pigeon

A rusty networking library for games.
Other
12 stars 2 forks source link

Remove TCP #6

Closed MitchellMarinoDev closed 10 months ago

MitchellMarinoDev commented 1 year ago

TCP tends to induce packet loss for UDP Gaffer On Games UDP vs TCP. I didn't know this when writing carrier-pigeon. So instead of opening a TCP connection and UDP socket, we will just open a UDP socket and implement reliability on top using some or all of the principals outlined in the Gaffer On Games article.

Development will be done on the release/udp-only branch. The next release will be when it is done.

MitchellMarinoDev commented 10 months ago

TCP is removed in feature/connection-rework and dev.