How can I programmatically determine if I have access to a server with a given IP address using C#?
This should do it
bool ssl; ssl = false; int maxWaitMillisec; maxWaitMillisec = 20000; int port = 555; success = socket.Connect("Your ip address",port,ssl,maxWaitMillisec); if (success != true) { MessageBox.Show(socket.LastErrorText); return; }