[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Use of lwip API calls
From: |
Craig Graham |
Subject: |
Re: [lwip-users] Use of lwip API calls |
Date: |
Thu, 5 Aug 2004 16:34:02 +0100 |
User-agent: |
KMail/1.6 |
On Thursday 05 August 2004 16:04, K.J. Mansley wrote:
> On Thu, 2004-08-05 at 09:55, Chris WIlliams wrote:
> > Hi,
> >
> > I am developing a Hitachi H8 implementation of lwip. I have it working
> > in a simple form and I am now looking to use more complex functions. My
> > question is about the API interface.
> >
> > >From what I have read, the API interface uses blocking calls. That does
> >
> > not sit well in my system with no scheduler / operating system. I am
> > interested in the API because it provides buffering, which I need in
> > some cases to isolate lwip from my processes. However, I need non
> > blocking calls. Is there a simple solution?
>
> lwIP has a number of different APIs. The most familiar will be the
> sockets API, but I'm not sure if this supports all the non-blocking
> features you might need. It is certainly able to do non-blocking reads
> however.
I've made some modifications to the sockets API that provides non-blocking
connect as well. I keep meaning to submit 'em, but pressure of work is
keeping me a bit busy at the moment......I'll try get them out at some point
in August though..
Laters,
Craig.