At the moment, if you let the system assign a port (by passing port 0), the server->address property will have a port of 0 even after the system has assigned one. This means all incoming connection requests will be rejected because the port does not match.
At the moment, if you let the system assign a port (by passing port 0), the
server->address
property will have a port of 0 even after the system has assigned one. This means all incoming connection requests will be rejected because the port does not match.This PR updates the
server->address
property to include the system assigned port once the socket is created. Fixes issue https://github.com/networkprotocol/netcode.io/issues/93.