|
From: | address@hidden |
Subject: | Re: [lwip-users] Basic LISTEN question |
Date: | Fri, 13 Nov 2009 12:52:35 +0100 |
User-agent: | Thunderbird 2.0.0.23 (Macintosh/20090812) |
Zahir Lalani schrieb:
No, the correct way is to call tcp_listen() before the while loop: the pcb stays in listening state until closed by tcp_close().while (1){ ptel_pcb = tcp_listen(ptel_pcb); tcp_accept(ptel_pcb, echo_accept); }Is this correct? I would normally expect to issue the listen on a port only one
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |