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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.