This commit is contained in:
2023-02-03 17:48:16 +09:00
parent e491ec5369
commit e983d0223d
7 changed files with 108 additions and 0 deletions

17
Socket/Client/Program.cs Normal file
View File

@@ -0,0 +1,17 @@
using System.Net;
using System.Net.Sockets;
namespace Client;
internal class Program
{
static void Main(string[] args)
{
while (true)
{
Socket clientSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
IPEndPoint endPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 20000);
clientSocket.Connect(endPoint);
}
}
}