You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
320 B
15 lines
320 B
using System.Net;
|
|
using System.Net.Sockets;
|
|
|
|
namespace Client;
|
|
|
|
internal class Client
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
|
|
socket.Connect(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 20000));
|
|
|
|
Console.ReadLine();
|
|
}
|
|
} |