public static extern NngErrorCode nng_sendmsg(NngSocket nngSocket, NngMsg nngMessage, NngFlags flags);
 public static extern NngErrorCode nng_recvmsg(NngSocket nngSocket, out NngMsg nngMessage, NngFlags flags);
 public static extern IntPtr nng_msg_body(NngMsg nngMessage);
 public static extern UIntPtr nng_msg_len(NngMsg nngMessage);
 public static extern NngErrorCode nng_msg_chop(NngMsg nngMessage, UIntPtr size);
 public static extern void nng_msg_clear(NngMsg nngMessage);
 public static extern NngErrorCode nng_msg_insert(NngMsg nngMessage, IntPtr value, UIntPtr size);
 public static extern NngErrorCode nng_msg_realloc(NngMsg msg, UIntPtr size);
 public static extern void nng_msg_free(NngMsg nngMessage);
 public static extern NngErrorCode nng_msg_alloc(out NngMsg nngMessage, UIntPtr size);
示例#11
0
 public static extern void nng_aio_set_msg(NngAio aio, NngMsg message);