ZeroMQ 官方地址 :http://api.zeromq.org/4-0:zmq_disconnect zmq_disconnect(3) ØMQ Manual - ØMQ/3.2.5 Name zmq_disconnect - 断开一个socket的连接 Synopsis intzmq_disconnect (void*socket,constchar*endpoint); Description 函数zmq_disconnect() 会断开socket参数指定的socket与endpoint参数指定的终结...
public ZMQSocket::disconnect ( string $dsn ) : ZMQSocket Disconnect the socket from a previously connected remote endpoint. The endpoint is defined in format transport://address where transport is one of the following: inproc, ipc, tcp, pgm or epgm. 参数...
ZmqMessage msg = socket.ReceiveMessage();if(msg.First.Buffer[0] != (byte)MessageIdentifier.BeginEncryption) { LogUnexpectedMessage(msg.First.Buffer); window.Log("Crucial unexpected result, disconnecting."); socket.Send(newbyte[] { (byte)MessageIdentifier.Disconnect}); status =0; socket.Dispose(...
ZeroMQ 官方地址 :http://api.zeromq.org/4-0:zmq_disconnect zmq_disconnect(3) ØMQ Manual - ØMQ/3.2.5 Name zmq_disconnect - 断开一个socket的连接 Synopsis intzmq_disconnect (void*socket,constchar*endpoint); Description 函数zmq_disconnect() 会断开socket参数指定的socket与endpoint参数指定的终结...