[En-Nut-Discussion] HTTP GET problem

Cosmin Buhu cosminbuhu at lycos.co.uk
Thu Oct 16 16:52:59 CEST 2003


On Thu, 16 Oct 2003 10:40:40 +0200
Harald Kipp <harald.kipp at egnite.de> wrote:

> Hi Cosmin,
> 
> >         strcpy(msg, "GET /nut/httpq.php");
> >         NutTCPSend(tcpsock, msg, strlen(msg));
> 
> NutTcpSend(tcpsock, 0, 0); /* Flush buffer */
> 
> >         memset(msg, 0 , 512);
> >         rt = NutTCPReceive(tcpsock, msg, 500);
> >         printf("Got %i bytes.\r\n", rt);
> 
> Harald
> 


	Doesn't work...

Cosmin



More information about the En-Nut-Discussion mailing list