System.Net.Sockets.TcpClient.TcpClient C# (CSharp) Method

TcpClient() private method

private TcpClient ( Socket acceptedSocket ) : System.Diagnostics
acceptedSocket Socket
return System.Diagnostics
        internal TcpClient(Socket acceptedSocket)
        {
            if (NetEventSource.IsEnabled) NetEventSource.Enter(this, acceptedSocket);

            _clientSocket = acceptedSocket;
            _active = true;

            if (NetEventSource.IsEnabled) NetEventSource.Exit(this);
        }

Same methods

TcpClient::TcpClient ( IPEndPoint localEP )
TcpClient::TcpClient ( string hostname, int port )
TcpClient::TcpClient ( ) : System.Diagnostics
TcpClient::TcpClient ( AddressFamily family ) : System.Diagnostics