3 registered members (NewbieZorro, TipmyPip, 1 invisible),
19,045
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
[ANET REQUEST] Set the Timeout
#361718
03/04/11 16:53
03/04/11 16:53
|
Joined: May 2008
Posts: 2,113 NRW/Germany
alibaba
OP
Expert
|
OP
Expert
Joined: May 2008
Posts: 2,113
NRW/Germany
|
Can you implement that i can set the timeout? And btw, can you also add a function named enet_check_server? would be great 
Last edited by alibaba; 03/04/11 19:06.
|
|
|
Re: [ANET REQUEST] Set the Timeout
[Re: alibaba]
#361738
03/04/11 19:19
03/04/11 19:19
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
I will have a look at setting the timeout. But I already have looked into this for some time but it seemed to be not poosible to set the ENET timeout.
What should enet_check_server() do? Checking if the connection to the server is alright? This can be checked through enet_get_connection() or enet_get_clientid().
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: [ANET REQUEST] Set the Timeout
[Re: alibaba]
#361924
03/05/11 20:23
03/05/11 20:23
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
This is a #define so it can't be changed during runtime. Maybe it's possible to replace it by a variable, I don't know. But I once talked to Lee Salzmann (the creator of ENET) about how it's possible to change the timeout and he said it's not.
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: [ANET REQUEST] Set the Timeout
[Re: alibaba]
#361941
03/05/11 20:56
03/05/11 20:56
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
I will put it on my to-do list. But it will take some time until I can work on this (~3 months).
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
|