Andrew Thompson
4f4cc73280
Use strrchr to ensure we split off the last colon for the service port
...
IPv6 addresses have colons and will produce invalid data for the getaddrinfo lookup.
Signed-off-by: Andrew Thompson <andy@fud.org.nz>
2011-06-29 23:48:19 +02:00
Paul Colomiets
38e5f8699c
Better handling of memory error in resolve_ip_hostname
...
Signed-off-by: Paul Colomiets <pc@gafol.net>
2011-05-17 10:12:27 +02:00
Martin Sustrik
49df2f416c
Fixes warning when compiling with MSVC on Win64
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-15 13:12:09 +02:00
Martin Sustrik
e0246e32d7
Message-related functionality factored out into msg_t class.
...
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-04-21 22:27:48 +02:00
Martin Sustrik
7b95c5920c
Windows build fixed
...
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-09 16:34:37 +01:00
Brett Cameron
b00be2651c
Different fixed to make OpenVMS port work.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-08 14:39:52 +01:00
Martin Sustrik
18b9ebea32
The copyrights in file headers updated.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-02 16:30:40 +01:00
Martin Sustrik
43e8868875
Added explicit error message in case of memory exhaustion
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-02-22 16:23:36 +01:00
Martin Sustrik
b358df9fff
Name of "GNU Lesser Public License" corrected.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-30 15:08:28 +02:00
Martin Lucina
5b1a6a4bea
Issue 42 - getaddrinfo() fails
2010-07-21 17:33:40 +02:00
Martin Sustrik
9481c69b0f
problem with NIC name resolution on OSX fixed
2010-03-06 16:32:19 +01:00
Martin Sustrik
0b4172b868
minor cast issues on cygwin fixed
2010-02-24 16:19:14 +01:00
Martin Lucina
bba36e6ee6
Disable IPv6 support
...
The current IPv6 support is half-assed and breaks for too many people.
Revert back to IPv4 only for now.
2010-02-24 12:07:24 +01:00
Martin Lucina
2a79a943de
Add NetBSD support
2010-02-18 19:38:15 +01:00
Martin Sustrik
5041b0bc0b
fixing the previous commit :(
2010-02-15 20:35:00 +01:00
Martin Sustrik
7778010d76
care taken of the fact that AI_NUMERICSERV is not defined on OSX 10.5
2010-02-15 19:58:47 +01:00
Martin Sustrik
8f86cac2f6
ZMQII-69: Make 0MQ build on HP-UX
2010-02-09 19:23:15 +01:00
unknown
aa27034db5
IPv6 patch - part V. (win32)
2010-01-24 08:38:18 +01:00
Martin Sustrik
adc5d7693d
IPv6 patch - part IV.
2010-01-24 08:19:02 +01:00
Martin Sustrik
fca9a2159a
Merge branch 'master' of git@github.com:sustrik/zeromq2
2010-01-23 11:14:53 +01:00
Martin Sustrik
079d327670
IPv6 patch - part III.
2010-01-23 11:14:30 +01:00
unknown
454f43a45b
IP address resolving on Win32 fixed
2010-01-23 09:08:31 +01:00
Martin Sustrik
2634934999
IPv6 patch part 2/2
2010-01-23 08:19:30 +01:00
Martin Sustrik
6aaf095dd2
IPv6 support -part II.
2010-01-22 16:32:48 +01:00
Martin Sustrik
34d65e22c5
Tero Marttila's Ipv6 patch - part I.
2010-01-22 13:13:52 +01:00
Martin Sustrik
bddff50271
ZMQII-40: wrong return code from recolve_ip_interface
2010-01-18 11:01:41 +01:00
Martin Sustrik
51e012c446
Solaris build fixed
2010-01-16 09:39:44 +01:00
Martin Sustrik
2bb57ac57a
ZMQII-39: Implement IPC transport
2010-01-15 14:11:39 +01:00
Martin Sustrik
4f6baf4dde
Copyrights transferred from FastMQ to iMatix
2010-01-05 08:29:35 +01:00
Martin Sustrik
6996ef6f1a
improved error handling
2009-08-29 09:41:50 +02:00
Martin Sustrik
cc3755a16f
renamed from zs to zmq
2009-08-03 11:30:13 +02:00
Martin Sustrik
4ed70a9302
initial commit
2009-07-29 12:07:54 +02:00