lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Re: Multiple servers on lwIP


From: address@hidden
Subject: Re: [lwip-users] Re: Multiple servers on lwIP
Date: Sat, 11 Apr 2009 21:22:12 +0200
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

Oscar Cutanda wrote:
How are you managing it? Some type of tasks? Interrupts?

The lwip raw API is event based. You create listening connections that include a callback for when a new client connection attempt is received. In that accept callback, you in turn set callbacks to the newly created connection. In the receive callback of the new connection, you can send data to the client.

Of course you can do more, but for a start, it's as simple as that. There are also example programs using the raw API in the core module available in the download section.

Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]