Posted by Mitja Trampus on 12/22/05 11:51
marcwentink@hotmail.com wrote:
> [...]
> I am writing a program that listens on port 3456 and receives a http
> request. In my browser I call http://localhost:3456/test.
>
> In my C++ program, that listens on port 3456, I receive this request
> in:
> nRet = recv(new_socket, szBuf, BUF_SZ, 0);
>
> This is the information I get in szBuf:
>
> ---------------------------
> PROG_NAME
> ---------------------------
> GET /test HTTP/1.1 <=======
> [...]
>
> Where is the string "test" gone?
Look harder :)
[Back to original message]
|