You can accomplish the same thing using sockets or WebClient (C #):
By default, Telnet used:
At the telnet command line, you can do:
o host port> (o www.website.com 80) GET /index.htm HTTP/1.1
Using WebClient (Note: this is a WebClient C # object):
var webClient = new WebClient(); webClient.Headers.Add("user-agent", "Agent"); Stream responseStream = webClient.OpenRead("http://www.google.com")
The response from the server will be stored inside the responseStream object.
source share