Ejemplo n.º 1
0
        public bool TryUnbind(string endpoint)
        {
            if (ZmqNative.unbind(_handle, endpoint) == -1)
            {
                return(false);
            }

            return(true);
        }
Ejemplo n.º 2
0
        public bool TryUnbind(string endpoint)
        {
            while (ZmqNative.unbind(_handle, endpoint) == -1)
            {
                if (ZmqUtil.WasInterrupted())
                {
                    continue;
                }

                return(false);
            }

            return(true);
        }