summaryrefslogtreecommitdiff
path: root/src/ip.cpp
AgeCommit message (Collapse)Author
2011-08-08Update resolve_ip_interface and resolve_ip_hostname with ipv4only parameter.Steven McCoy
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk> Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-08-08Update resolve_nic_name to take more generic sockaddr parameter.Steven McCoy
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
2011-07-29Different connecters simplifiedMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
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-06-29Use strrchr to ensure we split off the last colon for the service portAndrew Thompson
IPv6 addresses have colons and will produce invalid data for the getaddrinfo lookup. Signed-off-by: Andrew Thompson <andy@fud.org.nz>
2011-05-17Better handling of memory error in resolve_ip_hostnamePaul Colomiets
Signed-off-by: Paul Colomiets <pc@gafol.net>
2011-05-15Fixes warning when compiling with MSVC on Win64Martin Sustrik
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-09Windows build fixedMartin Sustrik
Compilation of ip.cpp have failed because EPROTONOSUPPORT was undefined. Including zmq.h should help as the error code is defined there. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-08Different fixed to make OpenVMS port work.Brett Cameron
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>
2011-02-22Added explicit error message in case of memory exhaustionMartin 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-21Issue 42 - getaddrinfo() failsMartin Lucina
2010-03-06problem with NIC name resolution on OSX fixedMartin Sustrik
2010-02-24minor cast issues on cygwin fixedMartin Sustrik
2010-02-24Disable IPv6 supportMartin Lucina
The current IPv6 support is half-assed and breaks for too many people. Revert back to IPv4 only for now.
2010-02-18Add NetBSD supportMartin Lucina
2010-02-15fixing the previous commit :(Martin Sustrik
2010-02-15care taken of the fact that AI_NUMERICSERV is not defined on OSX 10.5Martin Sustrik
2010-02-09ZMQII-69: Make 0MQ build on HP-UXMartin Sustrik
2010-01-24IPv6 patch - part V. (win32)unknown
2010-01-24IPv6 patch - part IV.Martin Sustrik
2010-01-23Merge branch 'master' of git@github.com:sustrik/zeromq2Martin Sustrik
2010-01-23IPv6 patch - part III.Martin Sustrik
2010-01-23IP address resolving on Win32 fixedunknown
2010-01-23IPv6 patch part 2/2Martin Sustrik
2010-01-22IPv6 support -part II.Martin Sustrik
2010-01-22Tero Marttila's Ipv6 patch - part I.Martin Sustrik
2010-01-18ZMQII-40: wrong return code from recolve_ip_interfaceMartin Sustrik
2010-01-16Solaris build fixedMartin Sustrik
2010-01-15ZMQII-39: Implement IPC transportMartin Sustrik
2010-01-05Copyrights transferred from FastMQ to iMatixMartin Sustrik
2009-08-29improved error handlingMartin Sustrik
2009-08-03renamed from zs to zmqMartin Sustrik
2009-07-29initial commitMartin Sustrik