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. And also if the connect was blocked by a firewall. The code works at least on Windows and Linux. Alex ------------------------------------------------------------------------------ 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