summaryrefslogtreecommitdiff
path: root/src/tcp_connecter.cpp
AgeCommit message (Collapse)Author
2011-07-28Tuning of TCP sockets is done at a single placeMartin Sustrik
Instead of being spread throughout the codebase, the tuning is done in tune_tcp_socket() function. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-28Implementations of TCP and IPC transports separatedMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-28Precise reconnect interval randomisedMartin Sustrik
Till now the random fraction of the reconnect interval was computed based on process ID. This patch uses pseudo-random generated (seeded by exact time of when the process was started) to compute the interval. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-28Setting TCP socket options moved to tcp_engine_tMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-26Code cleanupMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-26Experimental VTCP listener addedMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-26TCP transport classes simplifiedMartin Sustrik
zmq_engine and tcp_socket merged into tcp_engine zmq_connecter and tcp_connecter merged into tcp_connecter zmq_listener and tcp_listener merged into tcp_listener Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-19ENETDOWN is a legal error from TCP connectMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-14ENETUNREACH is a valid error from connectMartin Sustrik
This patch fixed the JIRA issue 223 Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-08Async connect doesn't fail on EWSANETDOWNMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-29WSAENETUNREACH is a valid networking errorMartin Sustrik
Till now, 0MQ asserted on Windows when connect () returned WSAENETUNREACH. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-21Message-related functionality factored out into msg_t class.Martin Sustrik
This patch addresses serveral issues: 1. It gathers message related functionality scattered over whole codebase into a single class. 2. It makes zmq_msg_t an opaque datatype. Internals of the class don't pollute zmq.h header file. 3. zmq_msg_t size decreases from 48 to 32 bytes. That saves ~33% of memory in scenarios with large amount of small messages. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-02The copyrights in file headers updated.Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-30Name of "GNU Lesser Public License" corrected.Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-07-13minor comment clarificationMartin Sustrik
2010-06-11if connect asserts, exact error is reportedMartin Sustrik
2010-06-11EHOSTUNREACH is acceptable outcome from connectMartin Sustrik
2010-06-10issue 31 - Assertion failed: err == ECONNREFUSED || err == ETIMEDOUT ↵Martin Sustrik
(tcp_connecter.cpp:296)
2010-06-07minor comment clarificationMartin Sustrik
2010-05-12fixes for OpenVMSBrett Cameron
2010-03-11Restructure language bindingsMartin Lucina
C and C++ headers moved from bindings/ to include/, bindings/ removed --with-c and --with-cpp options to configure removed, C and C++ now built and installed by default
2010-02-10ZMQII-69: Make 0MQ build on HP-UXMartin Sustrik
2010-02-05allow async connect on Win32 return WSAECONNABORTEDMartin Sustrik
2010-02-04ZMQII-58: TCP connecting asserts on Win32 (same fix for POSIX)Martin Sustrik
2010-02-04ZMQII-58: TCP connecting asserts on Win32unknown
2010-01-23IPv6 patch part 2/2Martin Sustrik
2010-01-22Tero Marttila's Ipv6 patch - part I.Martin Sustrik
2010-01-20ZMQ-42: Building with ICC failsMartin Sustrik
2010-01-16Solaris build fixedMartin Sustrik
2010-01-15Win32 build fixedunknown
2010-01-15ZMQII-39: Implement IPC transportMartin Sustrik
2010-01-05Copyrights transferred from FastMQ to iMatixMartin Sustrik
2009-10-01windows error handling improvedunknown
2009-09-11build on win32 fixedMartin Sustrik
2009-09-10classify error from async connect as network related or 0MQ bugsMartin Sustrik
2009-09-09fix of async connect on win32Martin Sustrik
2009-09-08win port for c and cpp perf testsunknown
2009-09-07initial changes for win portunknown
2009-08-09zmq_listener/zmq_connecter implementedMartin Sustrik
2009-08-03renamed from zs to zmqMartin Sustrik
2009-07-29initial commitMartin Sustrik