This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]