502647092 2015-09-14 20:51:25 +08:00
commit 0486f34978
2 changed files with 2 additions and 7 deletions

View File

@ -14,7 +14,7 @@ using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Animation;
namespace CTZLauncher
{

View File

@ -14,12 +14,7 @@ namespace MinecraftServerInfo
using (Socket client = new Socket(AddressFamily.InterNetwork, 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);
client.Connect("four.mengcraft.com", 11133);
Console.WriteLine("开始连接");
if (client.Connected)
{