*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1339 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-10-03 04:32:10 +00:00
parent 83e1204a98
commit 5be5468c34
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -193,6 +193,7 @@ void servermsinit(const char *master, char *ip, int infoport, char *sdesc, bool
ENetAddress address = { ENET_HOST_ANY, infoport };
pongsock = enet_socket_create(ENET_SOCKET_TYPE_DATAGRAM, &address);
if(pongsock == ENET_SOCKET_NULL) fatal("could not create server info socket\n");
else enet_socket_set_option(pongsock, ENET_SOCKOPT_NONBLOCK, 1);
if(*ip && enet_address_set_host(&msaddress, ip)<0) printf("WARNING: server ip not resolved");
}
}