Hi Luca, thanks for the hint! I never tested again without the modification ;-)
Alex Am 20.10.2010 23:53, schrieb Luca Olivetti: > Al 20/10/10 20:06, En/na Alexander Bauer ha escrit: >> Hi all, >> >> Am 20.10.2010 19:33, schrieb Luca Olivetti: >> >> 4. I am not sure, if nonblock mode is supported on various operating >> >> systems. (Synapse runs on many system other then Win and Linux...) >> > >> > It could be ifdefed for windows only (in linux the normal timeout >> > seems to work for connect, but it could be just a side effect). >> > Anyway, the connection made in nonblocking mode, then switching to >> > blocking after that, is documented in the Unix socket FAQ >> > http://developerweb.net/viewtopic.php?id=3196 so it should work also >> > with other unices. >> >> >> I did the modification especially for Linux ! >> Because the connection timeout on Linux may very long. > Here SetTimeout for linux works even for the connection establishment, > without your modification. In older versions SetSockOpt was called with > wrong parameters (so SetTimeout didn't work at all) but it has been > fixed since. > > Bye ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public