I have the following code
It connects but I cant get it to execute the...Code:#include <stdio.h> #include <stdlib.h> #include <iostream.h> int main() { system("telnet site.com 80"); system("GET /whatever.html HTTP/1.1"); return 0; }
part of the code until I end my telnet session.Code:system("GET /whatever.html HTTP/1.1");
So heres the questions, how do I make it connect and then send the GET request while it's still connected???
I looked around the forums and google and i couldnt find anything that really anwsered my question, this thing has been driving me crazy for days.



LinkBack URL
About LinkBacks


