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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user