[Forum Game] Paste whatever's on your clipboard!
Survivor
#2398
For a few minutes while I was talking to someone and had this page open, I thought that was a ladle slathered in dough.
MaikHELL
#2410
`
private void PingServerInfo(ServerInfo server)
{
try
{
System.Net.Sockets.TcpClient c = new System.Net.Sockets.TcpClient();
Stopwatch watch = new Stopwatch();
watch.Start();
c.Connect(server.ip, pingPort);
watch.Stop();
server.lastPing = watch.ElapsedMilliseconds;
}
catch (Exception)
{
server.lastPing = 99999;
}
}
`