Reply to Re: Question about http request content

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация