• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker Some networking error

N

NNNIKKI

Guest
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-any-Key

Member
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.
 
Top