gbersac / zappy_42

Multiplayer game in c.
0 stars 0 forks source link

ser: bind error #18

Closed jcoignet closed 8 years ago

jcoignet commented 8 years ago

Could you set

int                 enable;

enable = 1;
setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(int);

on the server socket so we don't have the bind error at start anymore. Thanks