Menu

#2 Short timeout in the ClientConnect example

open
nobody
None
5
2007-08-13
2007-08-13
Lilian
No

The timeout set a the line 95 of the ClinetConnect example appears to be too small to let the network time to answer through internet causing the connection to fail without reason. Raising the figure from 30 to 30000 fixes the problem.

switch(c2s.loginAny(userName, resource, password, 30000))

Discussion


Log in to post a comment.