Differences

This shows you the differences between two versions of the page.

Link to this comparison view

public:howto:connecttimeout [2007/11/30 14:30] (current)
Line 1: Line 1:
 +How To Change Connect Timeout
  
 +Synapse library using sockets in blocking mode. But blocking call of Connect not have any timeout. Timeout for Connect is hardcoded in communication stack of your operating system.
 +
 +:!: Any timeout property in Synapse cannot define timeout for connecting of TCP channel. It is not a bug, it depending on design of used socket API.
 +
 +Exists two possible workarounds:
 +
 +  * Call Connect in non-blocking mode. (ugly...)
 +  * Raise helper thread and after timeout try to close socket handler from this thread. (it is ugly too...)
public/howto/connecttimeout.txt · Last modified: 2007/11/30 14:30 (external edit)
Driven by DokuWiki Recent changes RSS feed