lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] lwip ports an BSD sockets.


From: christiaan . simons
Subject: RE: [lwip-users] lwip ports an BSD sockets.
Date: Thu, 24 Feb 2005 11:27:30 +0100

address@hidden wrote: -----


>The BSD api blocks while waiting for something to
>happen,
>only when something happens will the call return. This wouldn't allow
>anything else execute.

Not fully true. You can poll for socket input, or better, use select() or pselect().

I agree with that an socket API really only makes sense when using an (RT)OS,
but for a obvious reason. Sockets were designed for Inter Process Communication,
and there is only one Process in a typical "big loop" micro app.

>It may be easier to convert your other apps to use the raw api (I'm
>faced with this myself). The raw api has callbacks that execute when
>something happens.

Agreed.
Bye,

Christiaan Simons

Software Engineer
Axon Digital Design

+31 (0)13 511 66 66
+31 (0)13 511 41 51

address@hidden
http://www.axon.tv

The information contained in this communication is confidential and is intended solely for the use of the individual or entity to whom it is addressed. Axon Digital Design Group is neither liable for the proper nor for the complete transmission of the information contained in this communication nor for any delay in its receipt. Axon Digital Design Group does not guarantee that the integrity of this communication has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. In that case please return the communication to the sender and delete and destroy all copies. In carrying out its engagements, Axon Digital Design Group applies general terms and conditions, which contain a clause that limits its liability. A copy of these terms and conditions is available on request free of charge.

The information contained in this communication is confidential and is intended solely for the use of the individual or entity to whom it is addressed. Axon Digital Design Group is neither liable for the proper nor for the complete transmission of the information contained in this communication nor for any delay in its receipt. Axon Digital Design Group does not guarantee that the integrity of this communication has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. In that case please return the communication to the sender and delete and destroy all copies. In carrying out its engagements, Axon Digital Design Group applies general terms and conditions, which contain a clause that limits its liability. A copy of these terms and conditions is available on request free of charge.



reply via email to

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