Skip to content
Commits on Apr 6, 2016
  1. @c-rack

    Merge pull request #75 from K0n63n/master

    Class for multipart messaging
    c-rack committed Apr 6, 2016
  2. @K0n63n

    Class for multipart messaging

    This class handles multipart messaging. It is the C++ equivalent of zmsg.h, which is part of CZMQ (the high-level C binding). Furthermore, it is a major improvement compared to zmsg.hpp, which is part of the examples in the ØMQ Guide. Unnecessary copying is avoided by using move semantics to efficiently add/remove parts.
    K0n63n committed Apr 6, 2016
Commits on Jan 19, 2016
  1. @c-rack

    Merge pull request #70 from raulcf/master

    Updating zmq_ctx_shutdown to zmq_ctx_destroy which is imported in zmq.h
    c-rack committed Jan 20, 2016
  2. @raulcf
Commits on Dec 3, 2015
  1. @hintjens

    Merge pull request #67 from K0n63n/master

    New fill constructor for message_t
    hintjens committed Dec 3, 2015
  2. @K0n63n

    New fill constructor for message_t

    New fill constructor: message_t(const void *data, size_t size). Constructs a new message of the given size and copies the data to the message body. In addition a new rebuild() function that does the same for an already constructed object
    K0n63n committed Dec 3, 2015
  3. @c-rack
  4. @K0n63n

    Fix warning 4996 in msvc debug build

    When making a debug build with msvc, the range constructor of message_t caused warning 4996: 'std::_Copy_impl': Function call with parameters that may be unsafe. It is actually safe to do what's done in the constructor, so the workaround is to mimic what std::copy does, whitout the range check.
    K0n63n committed Dec 3, 2015
Commits on Nov 30, 2015
  1. @hintjens

    Merge pull request #65 from K0n63n/master

    Correction to pull request #56
    hintjens committed Nov 30, 2015
  2. @K0n63n

    Correction to pull request #56

    A better/nicer solution to fix the type mismatch warnings (size_t to int). Working with size_t as long as possible and doing the static_cast right before calling the zmq_poll() function of libzmq
    K0n63n committed Nov 30, 2015
  3. @hintjens

    Merge pull request #64 from K0n63n/master

    Fix two issues in message_t's range constructor
    hintjens committed Nov 30, 2015
  4. @K0n63n

    Fix two issues in message_t's range constructor

    Fix the following two problems in message_t's range constructor: (1) The range constructor passed the wrong size for iterator-types larger than one byte, (2) The range constructor didn't compile for const-iterators.
    K0n63n committed Nov 30, 2015
Commits on Nov 19, 2015
  1. @c-rack

    Merge pull request #62 from gdfast/patch-2

    Make getsockopt() functions const
    c-rack committed Nov 19, 2015
  2. @gdfast

    Make getsockopt() functions const

    Make the socket_t::getsockopt() functions (which wrap zmq_getsockopt() ) const because they should only access and not modify socket state.
    gdfast committed Nov 19, 2015
Commits on Nov 14, 2015
  1. @c-rack

    Merge pull request #59 from dquam/patch-1

    Fix usage of zmq_msg_recv and zmq_recvmsg
    c-rack committed Nov 14, 2015
Commits on Nov 12, 2015
  1. @dquam

    Fix usage of zmq_msg_recv and zmq_recvmsg

    The zmq_msg_recv() function takes the message, socket, and flags while the zmq_recvmsg() function takes the socket, message. This commit addresses that difference.
    dquam committed Nov 12, 2015
Commits on Nov 10, 2015
  1. @c-rack

    Merge pull request #57 from gdfast/patch-1

    Avoid using deprecated function zmq_recvmsg
    c-rack committed Nov 10, 2015
  2. @c-rack

    Merge pull request #52 from revaultch/master

    Fixes assertion error: src/mutex.hpp:123
    c-rack committed Nov 10, 2015
  3. @gdfast

    Avoid using deprecated function zmq_recvmsg

    The zmq_recvmsg() function has been replaced by zmq_msg_recv() since version 3.2.0, and has since been marked as deprecated.
    See: https://raw.githubusercontent.com/zeromq/zeromq3-x/master/NEWS
    Replace our uses of the old function (which was in monitor_t::monitor()) with the more modern function call. Support backwards compatibility with a #DEFINE macro for versions of zmq preceeding 3.2.0
    gdfast committed Nov 10, 2015
Commits on Nov 6, 2015
  1. @hintjens

    Merge pull request #56 from cmcmurrough/master

    fixed type mismatch warnings (size_t to int)
    hintjens committed Nov 6, 2015
Commits on Nov 5, 2015
  1. @cmcmurrough

    fixed type mismatch warnings (size_t to int)

    MSVC complains about conversion of size_t to int.  The size_t typedef is
    defined as an unsigned __int64 on Win64, which triggers the warning. Two
    such instances were fixed with static_cast<int>(size_t)
    cmcmurrough committed Nov 5, 2015
Commits on Nov 1, 2015
  1. @hintjens

    Merge pull request #55 from banburybill/master

    Extend C++11 guard to cover remaining use of std::vector data().
    hintjens committed Nov 1, 2015
  2. @banburybill

    Extend C++11 guard to cover remaining use of std::vector data().

    Now compiles without error with a pre-C++11 compiler (g++-3.3).
    
    Fixes #53
    Please enter the commit message for your changes. Lines starting
    banburybill committed Nov 1, 2015
Commits on Oct 2, 2015
  1. @revaultch

    Fixes assertion error, when destroing ctx while creating a socket fro…

    …m a different thread: ./src/mutex.hpp:123
    revaultch committed Oct 2, 2015
Commits on Sep 26, 2015
  1. @hintjens

    Merge pull request #51 from ligouras/master

    Fix backward compatibility
    hintjens committed Sep 26, 2015
  2. @ligouras

    Fix backward compatibility

    ligouras committed Sep 26, 2015
Commits on Jul 6, 2015
  1. @ricnewton

    Merge pull request #49 from jens-auer/master

    Enhanced const-correctness and made interface more C++-ish
    ricnewton committed Jul 6, 2015
Commits on Jul 5, 2015
  1. Fixed some const-correctness issues

    C++11-ified some stuff:
    overloads with C++11 types, nothrow
    
    Added some template methods to work with messages and sockets
    jens committed with Jens Auer Mar 23, 2015
Commits on Mar 6, 2015
  1. @kobolog

    Merge pull request #43 from tolchz/master

    Add an rvalue overload for socket_t::send
    kobolog committed Mar 5, 2015
Commits on Mar 5, 2015
  1. @tzneal

    Add an rvalue overload for socket_t::send

    This lets you create functions that return message_t's by value, and
    pass them to send() with no copy.
    tzneal committed Mar 5, 2015
  2. @kobolog

    Merge pull request #42 from tolchz/master

    Fix a misaligned load
    kobolog committed Mar 5, 2015
  3. @tzneal

    Fix a misaligned load

    The issue was discovered by clang:
    
    zmq.hpp:504:34: runtime error: load of misaligned address 0x2b38beb224b2
    for type 'int32_t' (aka 'int'), which requires 4 byte alignment
    
    I modified the loads of both event and value to be consistent.
    tzneal committed Mar 5, 2015
Commits on Sep 11, 2014
  1. @ricnewton

    Merge pull request #41 from hintjens/master

    Problem: zmq_event_t removed in libzmq v4.1
    ricnewton committed Sep 11, 2014
  2. @hintjens

    Problem: zmq_event_t removed in libzmq v4.1

    Solution: define this if we need it, so that caller can use it
    on all versions of libzmq.
    
    Fixes #40
    hintjens committed Sep 11, 2014
Commits on Aug 8, 2014
  1. @hintjens

    Merge pull request #39 from zbierak/master

    Fixes backward compatibility with zmq 3.x
    hintjens committed Aug 8, 2014
Something went wrong with that request. Please try again.