Beispiel #1
0
def send(sock, msg):
    """Send a zmsg message to the socket, take ownership of the message
    and destroy when it has been sent.
    """
    return C.zsock_send(sock, ptop('zmsg_t', msg))