lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] UDP socket for writing only.


From: Aleksander Wysocki
Subject: [lwip-users] Re: [lwip] UDP socket for writing only.
Date: Thu, 09 Jan 2003 01:34:44 -0000

> > if you do not call recv(), incoming datagrams will be just discarded.
> > (maybe some amount (for example one - it depends of the implementation)
> > will be hold in hope you will recv them, but for sure they will not eat
up
> > your memory)
>
> Also, if something is sending datagrams to you when your application is
> not expecting them suggestions there is something wrong with your
> application level protocol.  If it is correct for datagrams to be
> delivered to this socket, then I would have thought you would be
> interested in them, rather than wanting them to be discarded.

>>the socket? If so then as I see that my program will never return from
>>"recv" function till there are data for this socket received. In other
words
>>it is a blocking call. Should I use another thread in multitasking
>>environment just for receiving an information through "recv"  function in
>>this case?

after second thought i think he thinks about functionality of select().

O.

[This message was sent through the lwip discussion list.]




reply via email to

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