[ECOS] any way to reset the TCP/IP network buffers in ecos?

Ken Yee kenkyee@excite.com
Thu Sep 20 17:54:00 GMT 2012


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



More information about the Ecos-discuss mailing list