[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] netconn_close()
From: |
Jonathan Larmour |
Subject: |
Re: [lwip-users] netconn_close() |
Date: |
Tue, 27 May 2008 15:44:26 +0100 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070530) |
Marko Panger wrote:
> HI,
>
> I'm using lwip1.3.0 in a RTOS environment with LWIP_SO_RCVTIMEO == 1 and
> the netconn api.
>
> Whe I call the netconn_recv the function blocks with timeout 0 (forever)
> on a mailbox. Now, how do I shut down
> the connection form my side ? I've tried to call netconn_close() which
> seems to post a semaphore but no task
> is pending on it.
>
> Am I doing something wrong ?
Sort of :-). Don't wait forever if it's not ok to wait forever! There is at
present no way to shut something like that down for UDP.
Maybe something could be added in netconn_delete (netconn_close is specific
to TCP) and/or netconn_disconnect and/or netconn_free. But there isn't
anything there now.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------ Opinions==mine
- [lwip-users] netconn_close(), Marko Panger, 2008/05/26
- Re: [lwip-users] netconn_close(),
Jonathan Larmour <=
- Re: [lwip-users] netconn_close(), Marko Panger, 2008/05/27
- Re: [lwip-users] netconn_close(), Jonathan Larmour, 2008/05/27
- Re: [lwip-users] netconn_close(), Frédéric BERNON, 2008/05/27
- Re: [lwip-users] netconn_close(), Marko Panger, 2008/05/27
- Re: [lwip-users] netconn_close(), Frédéric BERNON, 2008/05/27
- Re: [lwip-users] netconn_close(), Frédéric BERNON, 2008/05/27
- Re: [lwip-users] netconn_close(), Jonathan Larmour, 2008/05/27