更新项目...

master
502647092 2015-10-15 20:51:31 +08:00
parent 4b5d48ae64
commit c998ee5251
2 changed files with 47 additions and 44 deletions

View File

@ -224,6 +224,9 @@
<ItemGroup> <ItemGroup>
<Resource Include="image\area.png" /> <Resource Include="image\area.png" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Resource Include="image\join.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View File

@ -14,7 +14,7 @@ namespace MinecraftServerInfo
using (Socket client = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)) using (Socket client = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp))
try try
{ {
client.Connect("four.mengcraft.com", 11133); client.Connect("play.i5mc.com", 25565);
Console.WriteLine("开始连接"); Console.WriteLine("开始连接");
if (client.Connected) if (client.Connected)
{ {