Beispiel #1
0
def type_str(sock):
    """Returns socket type as printable constant string"""
    return ffi.string(C.zsock_type_str(sock))