codecat / unet

Unified Lobby Networking library in C++, providing cross-play between Steam lobbies, Gog Galaxy lobbies, and Enet sockets.
MIT License
7 stars 1 forks source link

Unet::Internal::Context::SendTo implementation #2

Closed xMyran closed 5 years ago

xMyran commented 5 years ago

There's some very odd details there,

  1. It has to check the MTU for unreliable messages if its sending one
  2. It shouldnt always send everything as reliable just because its MTU is infinite
  3. Split messages might actually need to be sent as reliable