On Fri, 2011-04-01 at 11:13 +0200, brak brak2 wrote:
> 
> But how can I do this? I init TCP like this:
> 
>         pcb = tcp_new();
>         err = tcp_bind(pcb, IP_ADDR_ANY, 80);//PORT HTTP
>         pcb = tcp_listen_with_backlog(pcb, 1);
>         tcp_accept(pcb, HTTP_connection_established);

Close the listening socket once you've got one established.  Reopen it
when you're ready to listen again.

Kieran


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to