static private Disconnect ( Socket socket, SafeCloseSocket handle, bool reuseSocket ) : SocketError | ||
socket | Socket | |
handle | SafeCloseSocket | |
reuseSocket | bool | |
return | SocketError |
internal SocketError DoOperationDisconnect(Socket socket, SafeCloseSocket handle) { SocketError socketError = SocketPal.Disconnect(socket, handle, _disconnectReuseSocket); FinishOperationSync(socketError, 0, SocketFlags.None); return(socketError); }