enet 1.3 testing

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4955 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2010-05-20 21:03:41 +00:00
parent 7ccc4f1732
commit f4eb3b724e
20 changed files with 810 additions and 667 deletions
+2 -5
View File
@@ -96,14 +96,11 @@ void connectserv_(const char *servername, const char *serverport = NULL, const c
}
if(!clienthost)
{
clienthost = enet_host_create(NULL, 2, 0, 0);
if(clienthost) enet_host_channel_limit(clienthost, 3);
}
clienthost = enet_host_create(NULL, 2, 3, 0, 0);
if(clienthost)
{
connpeer = enet_host_connect(clienthost, &address, 3);
connpeer = enet_host_connect(clienthost, &address, 3, 0);
enet_host_flush(clienthost);
connmillis = totalmillis;
connattempts = 0;