mirror of
https://e.coding.net/circlecloud/CTZLauncher.git
synced 2024-11-24 02:28:49 +00:00
update...
This commit is contained in:
parent
653988f134
commit
be20b2d4a2
@ -14,11 +14,6 @@ namespace MinecraftServerInfo
|
||||
using (Socket client = new Socket(SocketType.Stream, ProtocolType.Tcp))
|
||||
try
|
||||
{
|
||||
//01 00
|
||||
//0F 00-2F 09 31 32 37 2E 30 2E 30 2E 31 63 DD 01
|
||||
//client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendTimeout, 1000);
|
||||
//client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveTimeout, 5000);
|
||||
//client.Connect("CityCraft.cn", 25565);
|
||||
client.Connect("four.mengcraft.com", 11133);
|
||||
Console.WriteLine("开始连接");
|
||||
if (client.Connected)
|
||||
|
Loading…
Reference in New Issue
Block a user