예제 #1
0
        public bool TryUnbind(string endpoint)
        {
            if (ZmqNative.unbind(_handle, endpoint) == -1)
            {
                return(false);
            }

            return(true);
        }
예제 #2
0
파일: ZmqSocket.cs 프로젝트: ocoanet/Zebus
        public bool TryUnbind(string endpoint)
        {
            while (ZmqNative.unbind(_handle, endpoint) == -1)
            {
                if (ZmqUtil.WasInterrupted())
                {
                    continue;
                }

                return(false);
            }

            return(true);
        }