public static SWIGTYPE_p_void zmq_socket(SWIGTYPE_p_void arg0, int type) { global::System.IntPtr cPtr = ZeroMQPINVOKE.zmq_socket(SWIGTYPE_p_void.getCPtr(arg0), type); SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return(ret); }
public static SWIGTYPE_p_void zmq_ctx_new() { global::System.IntPtr cPtr = ZeroMQPINVOKE.zmq_ctx_new(); SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return(ret); }
public unsafe static void zmq_version(int[] major, int[] minor, int[] patch) { fixed(int *swig_ptrTo_major = major) { fixed(int *swig_ptrTo_minor = minor) { fixed(int *swig_ptrTo_patch = patch) { { ZeroMQPINVOKE.zmq_version((global::System.IntPtr)swig_ptrTo_major, (global::System.IntPtr)swig_ptrTo_minor, (global::System.IntPtr)swig_ptrTo_patch); } } } } }
public static int zmq_recv(SWIGTYPE_p_void s, global::System.IntPtr buf, uint len, int flags) { int ret = ZeroMQPINVOKE.zmq_recv(SWIGTYPE_p_void.getCPtr(s), buf, len, flags); return(ret); }
public static int zmq_connect(SWIGTYPE_p_void s, string addr) { int ret = ZeroMQPINVOKE.zmq_connect(SWIGTYPE_p_void.getCPtr(s), addr); return(ret); }
public static int zmq_close(SWIGTYPE_p_void s) { int ret = ZeroMQPINVOKE.zmq_close(SWIGTYPE_p_void.getCPtr(s)); return(ret); }
public static int zmq_ctx_term(SWIGTYPE_p_void context) { int ret = ZeroMQPINVOKE.zmq_ctx_term(SWIGTYPE_p_void.getCPtr(context)); return(ret); }
public static int zmq_getsockopt(SWIGTYPE_p_void s, int option, SWIGTYPE_p_void optval, SWIGTYPE_p_size_t optvallen) { int ret = ZeroMQPINVOKE.zmq_getsockopt(SWIGTYPE_p_void.getCPtr(s), option, SWIGTYPE_p_void.getCPtr(optval), SWIGTYPE_p_size_t.getCPtr(optvallen)); return(ret); }
public unsafe static int zmq_setsockopt_2(SWIGTYPE_p_void s, int option, global::System.IntPtr optval, uint optvallen) { int ret = ZeroMQPINVOKE.zmq_setsockopt_2(SWIGTYPE_p_void.getCPtr(s), option, optval, optvallen); return(ret); }