GMS 2 Some networking error



I'm pretty sure this is trivial, since this is the first time I'm implementing networking...
Resizing swap chain...Error (0x 2740): Can't bind port
Setting SO_REUSEADDR and retrying...Error (0x 271d): Can't bind port even with SO_REUSEADDR
I can provide more code if it's needed but I don't think it is.


The error suggest you are trying to use a port that is already in use. Ex if you try start a socket on port 6510 and then try start another socket on port 6510 you will get that error. Also note that some ports are already used by other apps. Also note that if you destroy a socket, to free the port, it will take around 5-10 seconds before you can use that port again.