Hi, right now I am writing a webserver for school. Currently im using sockets to allow clients to connect to my webserver. But I am wondering how my webserver can connect to another host, say www.google.ca and return the contents of that page..
More specifically I am wondering how to connect to google.ca and send a
"GET / HTTP/1.1" edit:..btw i duno why the "ht tp" comes out as H**P
thanks for any help...and try to keep things simple, because I am bad at this stuff and probably wont understand if too advanced....