/// <summary> /// Disconnect this socket from <paramref name="address"/>. /// </summary> /// <param name="address">a string denoting the address to disconnect from</param> /// <exception cref="ObjectDisposedException">thrown if the socket was already disposed</exception> /// <exception cref="TerminatingException">The socket has been stopped.</exception> /// <exception cref="EndpointNotFoundException">Endpoint was not found and cannot be disconnected.</exception> public void Disconnect(string address) { m_socketHandle.CheckDisposed(); m_socketHandle.TermEndpoint(address); }