HaoYueNet/Simple/ClientSaeaTest/Program.cs

20 lines
428 B
C#
Raw Normal View History

2024-06-18 10:16:33 +08:00
using System.Net.Sockets;
namespace ClientSaeaTest
{
internal class Program
{
static SaeaClient client = new SaeaClient(1024,1024);
static void Main(string[] args)
{
client.Init();
client.Start();
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
client.Connect("139.186.160.243",1000);
Console.WriteLine("Hello, World!");
Console.ReadLine();
}
}
}