public static extern int nng_dial(nng_socket socket, string url, out nng_dialer dialer, UInt32 flags);
public static extern Int32 nng_getopt_ptr(nng_socket socket, string name, out IntPtr value);
public static extern int nng_listener_create(out nng_listener listener, nng_socket socket, string url);
public static extern Int32 nng_getopt_bool(nng_socket socket, string name, out bool value);
public static extern Int32 nng_getopt_ms(nng_socket socket, string name, out nng_duration value);
public static Int32 nng_setopt(nng_socket socket, string name, byte[] data) { return(nng_setopt(socket, name, data, (UIntPtr)data.Length)); }
public static extern Int32 nng_setopt_string(nng_socket socket, string name, string value);
public static extern unsafe Int32 nng_send(nng_socket socket, IntPtr data, UIntPtr size, Defines.NngFlag flags);
public static extern Int32 nng_recv(nng_socket socket, ref IntPtr data, ref UIntPtr size, Defines.NngFlag flags);
public static extern void nng_recv_aio(nng_socket socket, nng_aio aio);
public static extern int nng_dialer_create(out nng_dialer dialer, nng_socket socket, string url);
public static int nng_listen(nng_socket socket, string url, UInt32 flags) { return(nng_listen(socket, url, IntPtr.Zero, flags)); }
static extern int nng_listen(nng_socket socket, string url, IntPtr not_used, UInt32 flags);
public static extern int nng_listen(nng_socket socket, string url, out nng_listener listener, UInt32 flags);
public static extern Int32 nng_socket_id(nng_socket socket);
public static extern Int32 nng_sendmsg(nng_socket socket, nng_msg message, Defines.NngFlag flags);
static extern Int32 nng_setopt(nng_socket socket, string name, byte[] data, UIntPtr size);
public static extern Int32 nng_recvmsg(nng_socket socket, out nng_msg message, Defines.NngFlag flags);
public static extern Int32 nng_setopt_size(nng_socket socket, string name, UIntPtr value);
public static extern Int32 nng_close(nng_socket socket);
public static extern Int32 nng_getopt(nng_socket socket, string name, out IntPtr data, out UIntPtr size);
public static extern int nng_dial(nng_socket socket, string url, out nng_dialer dialer, Defines.NngFlag flags);
public static extern Int32 nng_getopt_int(nng_socket socket, string name, out Int32 value);
public static extern int nng_listen(nng_socket socket, string url, out nng_listener listener, Defines.NngFlag flags);
public static extern Int32 nng_getopt_uint64(nng_socket socket, string name, out UInt64 value);
static extern int nng_listen(nng_socket socket, string url, IntPtr not_used, Defines.NngFlag flags);
public static extern int nng_pipe_notify(nng_socket socket, Defines.NngPipeEv ev, Defines.PipeEventCallback callback, IntPtr arg);
public static int nng_listen(nng_socket socket, string url, Defines.NngFlag flags) { return(nng_listen(socket, url, IntPtr.Zero, flags)); }
public static extern Int32 nng_ctx_open(ref nng_ctx ctx, nng_socket socket);
public static extern Int32 nng_recvmsg(nng_socket socket, out nng_msg message, Int32 flags);