Jump to content
TrinityCore

detonatorss

Plebs
  • Posts

    14
  • Joined

  • Last visited

Posts posted by detonatorss

  1. So what i should have to do?

    how do i can check if the server is open, if i do a ping it ping to host, not to the server, so what you recomend me?

     

    Ping pingSender = new Ping();
    IPAddress address = IPAddress.Parse("127.0.0.1");
    PingReply reply = pingSender.Send(address);

    if (reply.Status == IPStatus.Success)
       {
             serverStatus.Checked = true;
       }
       else
       {
            serverStatus.Checked = false;
       }

×
×
  • Create New...