|
From: | Leon Woestenberg |
Subject: | Re: [lwip-users] Newbie question (tcp_pcb* allocation) |
Date: | Fri, 27 Feb 2004 11:30:24 +0100 |
User-agent: | Mozilla Thunderbird 0.5 (Windows/20040207) |
Hello, Robert wrote:
Yes, I agree that a listening TCP PCB is a good thing. But what happens is; you first allocate a full PCB, then a listening PCB, and when theOn Thu, 26 Feb 2004, Leon Woestenberg wrote:Co-developers, is there a way to allocate a listening TCP PCB from start? The above looks quite over-the-head for simply accepting a connection, although it does hide the gory details.From my point of view, the listening tcb is a good thing. Typically Iopen a listening tcp at the system startup. Many connections may occur using this same listening tcp, since usually I want a server, and I want to continue to accept additional connections using this same listening tcb even while others are already exchanging traffic.
connection occurs, again a full PCB. Maybe there should be a way of allocating a listening PCB right away? Just an idea, the current stuff works OK furterwise. Regards, Leon.
[Prev in Thread] | Current Thread | [Next in Thread] |