I'd like to query a server over the web. I need to set RemoteHost, RemotePort and Data Sent.

I seem to remember doing something like the following in traditional VB once using winsock:

...blah blah blah

With Winsock1
.RemoteHost = txtIP
.RemotePort = txtServerPort
.SendData "\status\"
End With

...blah blah blah

But I'm having trouble getting anything done from within an asp.net app.

Any suggestions?