This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
any way to reset the TCP/IP network buffers in ecos?
- From: "Ken Yee" <kenkyee at excite dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Cc:
- Date: Thu, 20 Sep 2012 13:54:29 -0400
- Subject: [ECOS] any way to reset the TCP/IP network buffers in ecos?
On our system, we bring PPP up and down to minimize connection time costs, but after running a while, we seem to get this error:
socket returned: No buffer space available
The error message is what's returned from the system strerror() call which maps errno to a message.
And what it's doing is a simple socket creation call to get ready to send a packet:
s = socket(AF_INET, SOCK_RAW, p->p_proto);
So is there any way to reset the network buffers inside eCos?
We can do this every time ppp is brought down since no other networking takes place while the link is down...
ken
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss