Beispiel #1
0
def unbind(sock, endpoint):
    """Unbind a socket from a formatted endpoint.
    Returns 0 if OK, -1 if the endpoint was invalid or the function
    isn't supported."""
    return C.zsock_unbind(sock, endpoint)