Re: [warzone2100-dev] 2.3.2a (or whatever) timeout period for sockets

2010-07-28 Thread buginator
On 7/27/10, buginator <> wrote:
> Currently, we wait 2500ms for some sockets, and wait forever for other
>  sockets (which you may have noticed when the game "froze" on you), so
>  the question is, for reading the sockets, do we wait 2500ms as well,
>  or make it more or less ?
>
>  Remember, the higher the value, the longer the game waits for a response.
>  The lower the value, then the higher chance of people getting kicked /
>  dropped because of a lack of a response.
>

Scratch this, I misread the function, a NULL structure would cause us
to wait forever, a 0 value means don't wait.

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [warzone2100-dev] 2.3.2a (or whatever) timeout period for sockets

2010-07-27 Thread Guangcong Luo
On Tue, Jul 27, 2010 at 10:46 PM, buginator  wrote:
> Not for 2.3.x 
> That would require tons more work / testing.

Okay, then. 2.5 seconds seems fine.

-Zarel

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [warzone2100-dev] 2.3.2a (or whatever) timeout period for sockets

2010-07-27 Thread buginator
On 7/27/10, Guangcong Luo <> wrote:
> On Tue, Jul 27, 2010 at 10:41 PM, buginator <> wrote:
>  > Currently, we wait 2500ms for some sockets, and wait forever for other
>  > sockets (which you may have noticed when the game "froze" on you), so
>  > the question is, for reading the sockets, do we wait 2500ms as well,
>  > or make it more or less ?
>  >
>  > Remember, the higher the value, the longer the game waits for a response.
>  > The lower the value, then the higher chance of people getting kicked /
>  > dropped because of a lack of a response.
>
>
> Can't we just thread them, so we can wait as long as we want without freezing?
>

Not for 2.3.x 
That would require tons more work / testing.

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [warzone2100-dev] 2.3.2a (or whatever) timeout period for sockets

2010-07-27 Thread Guangcong Luo
On Tue, Jul 27, 2010 at 10:41 PM, buginator  wrote:
> Currently, we wait 2500ms for some sockets, and wait forever for other
> sockets (which you may have noticed when the game "froze" on you), so
> the question is, for reading the sockets, do we wait 2500ms as well,
> or make it more or less ?
>
> Remember, the higher the value, the longer the game waits for a response.
> The lower the value, then the higher chance of people getting kicked /
> dropped because of a lack of a response.

Can't we just thread them, so we can wait as long as we want without freezing?

-Zarel

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev