Hi, need help with C++ (webserver)

Status
Not open for further replies.

charsoxer

Newbie level 2
Joined
Mar 8, 2006
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
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....
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…