What is a tcp in C# code example
Example 1: c# connect tcp
TcpClient tcpClient = new TcpClient("127.0.0.1", 8080);
Example 2: open tcp socket c#
Socket s = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);
TcpClient tcpClient = new TcpClient("127.0.0.1", 8080);
Socket s = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);