Hello,
Good day.
I have created a http_client that simply send a GET reqeust and reads the
reponse of the http_server. Below is the flow of my client:
while( true )
{
netconn_new( conn );
...
writeErr = netconn_write( conn, &command, sizeof( command ),
NETCONN_COPY/*NETCONN_NOCOPY*/ );
...
if( (inBuf = netconn_recv( conn ) ) != NULL )
{
netbuf_data(inBuf,&data,&length);
}
netconn_close( conn );
netconn_delete( conn );
}
The problem is, I receive responses only in the first and second GET command.
The succeeding GET requests are all failing. The netconn_recv( ) function is
NULL. Any idea on this one?
Thank you very much.
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users