summaryrefslogtreecommitdiff
path: root/src/pgm_socket.cpp
AgeCommit message (Collapse)Author
2011-07-15ZMQ_IDENTITY socket option removedMartin Sustrik
This patch simplifies the whole codebase significantly, including dropping depedency on libuuid. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-17Couple of minor issues in MSVC build fixedMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-16Duplicate initialisation of PGM_MULTICAST_HOPS removedMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-15ZMQ_MULTICAST_HOPS socket option addedMartin Sustrik
Sets the time-to-live field in every multicast packet sent from the socket. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-30pgm_socket uses binary version of UUIDMartin Sustrik
pgm_socket used textural form of UUID to generate GSIs. The recent patch that removed support for textual UUIDs broke the functionality. This patch fixes the problem. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-24ZMQ_RATE and ZMQ_RECOVERY_IVL types cahnged to intMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-24ZMQ_RECOVERY_IVL and ZMQ_RECOVERY_IVL_MSEC reconciledMartin Sustrik
There's only one option now -- ZMQ_RECOVRY_IVL -- and it's measured in milliseconds. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-23ZMQ_MCAST_LOOP removedMartin Sustrik
Multicast loopback is not a real multicast, rather a kernel-space simulation. Moreover, it tends to be rather unreliable and lossy. Removing the option will force users to use transports better suited for the job, such as inproc or ipc. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-14Remove obsolete assert from pgm_socket.cppMartin Sustrik
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>
2011-02-21Computation of buffer size for PGM fixed.Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-12-09Added Recovery Interval in MillisecondsBob Beaty
For very high-speed message systems, the memory used for recovery can get to be very large. The corrent limitation on that reduction is the ZMQ_RECOVERY_IVL of 1 sec. I added in an additional option ZMQ_RECOVERY_IVL_MSEC, which is the Recovery Interval in milliseconds. If used, this will override the previous one, and allow you to set a sub-second recovery interval. If not set, the default behavior is to use ZMQ_RECOVERY_IVL. Signed-off-by: Bob Beaty <rbeaty@peak6.com>
2010-10-30Coding style fixed for pgm_socketMartin 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-10-23Changes for MSVC OpenPGM build.Steven McCoy
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
2010-10-12Drop PGM parameters to 100mb friendly range.Steven McCoy
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
2010-09-30minor whitespace fixMartin Sustrik
2010-09-30FreeBSD doesn't define MSG_ERRQUEUE -- now it's defined in 0MQSteven McCoy
2010-09-30more fixes to (e)pgm transportSteven McCoy
2010-09-30 * Add assertions to check for OpenPGM calls with invalid parameters.Steven McCoy
* Assertion to check that pgm_getaddrinfo is actually returning something. * Missing pgm_connect call. * Typo on TOS causing immediate abort. * Placeholder calls for timeouts whilst continuing spin loop functionality. * OpenPGM v5 now supports reference counting so remove init checks. * Duplicate UDP unicast port setting, requires one unicast and one multicast. * Incorrectly set socket rcvbuf size with sndbuf. * Replace std::lexicographical_compare of TSI's with long word integer comparisons. * pgm_socket_t::receive returns -1 on no data.
2010-09-28Upgrade to OpenPGM-5.0.78Steven McCoy
2010-05-13some more sanity checks in pgm_socketSteven McCoy
2010-05-13some more sanity checks in pgm_socketSteven McCoy
2010-02-24handle invalid PGM connection string decentlyMartin Sustrik
2010-02-13Multi-hop REQ/REP, part IX., pass the peer identity as far as socket_base_tMartin Sustrik
2010-02-09ZMQII-57: Shutdown OpenPGM libraryMartin Sustrik
2010-02-04contrain interface name resolving in OpenPGM to IPv4 interfacesMartin Sustrik
2010-02-03ZMQII-55: At most one PGM/UDP transport can be openedMartin Sustrik
2010-01-27libpgm updated to 2.6.21rc6malosek
2010-01-05added pending event fd handling by the pgm_sendermalosek
2010-01-05Copyrights transferred from FastMQ to iMatixMartin Sustrik
2009-12-31fixed minor gcc warning in src/pgm_socket.cppmalosek
2009-12-28PGM code cleanupMartin Sustrik
2009-12-22OpenPGM error handling fixedMartin Sustrik
2009-12-21OpenPGM error handling improvedMartin Sustrik
2009-12-18memory leaks related to OpenPGM errors fixedMartin Sustrik
2009-12-15all news converted to nothrow variantMartin Sustrik
2009-12-14ZMQ_SNDBUF and ZMQ_RCVBUF honoured in PGM transportMartin Sustrik
2009-12-13debug code removed from PGM enginesMartin Sustrik
2009-12-13OpenPGM v1 support removedMartin Sustrik
2009-12-13PGM transport fixedMartin Sustrik
2009-11-30minor tweaks in pgm codemalosek
2009-11-04pgm_transport_recvmsgv in process_upstream returns ↵malosek
PGM_IO_STATUS_RATE_LIMITED on busy sender
2009-11-03update pgm_socket to recent openpgm2malosek
2009-11-03fixed get_sender_fds and get_receiver_fds for openpgm2malosek
2009-10-12updated 0MQ to recent OpenPGM2 rev.562malosek
2009-10-060MQ compilable on winXP mingw with --with-pgm2 optionmalosek
2009-10-05updated to recent PGM2 changesmalosek
2009-10-05moved pgm_create_custom_gsi into PGM1 and drop ssl dependencymalosek