[En-Nut-Discussion] HTTP GET problem

Harald Kipp harald.kipp at egnite.de
Thu Oct 16 10:40:40 CEST 2003


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




More information about the En-Nut-Discussion mailing list