title: How can I test a TCP connection to a server with C# given the server's IP address and port?
body: <p>How can I <em>programmatically</em> determine if I have access to a server (TCP) with a given IP address and port using C#?</p>