[ENet-discuss] Optimizing ENet Protocol ?

Len Holgate len.holgate at gmail.com
Thu May 24 04:31:45 PDT 2012


> Does the UDP packet's header contain the port of the Router or the
> initial sender port ? I'd guess the later, as when you send some

The datagram can only contain the address and port of the sender. BUT the
sender, in the case of NAT routers, is the NAT and NOT the client machine
where your code is running.

> Anyway, I'll do a loose bind then, ie: if there's no perfect IP /
> Port match, I'd do only a IP match, that should be ok in my case.

Which will work just fine if you only have one peer coming in from that
particular address...

Len
www.serverframework.com



More information about the ENet-discuss mailing list