Beispiel #1
0
        public int Initialize()
        {
            try
            {
                ContextHandle = LibZmq.zmq_ctx_new();
            }
            catch (Exception ex)
            {
            }

            return(ContextHandle == IntPtr.Zero ? -1 : 0);
        }
Beispiel #2
0
        public int Initialize()
        {
            ContextHandle = LibZmq.zmq_ctx_new();

            return(ContextHandle == IntPtr.Zero ? -1 : 0);
        }