TCP/IP problems

Chris Johns chrisj at rtems.org
Thu Jul 22 00:39:10 UTC 2004


Stan wrote:
> 
> Why the write function never returns an error ?
> For example, I modify the program loopback for making
> many writes without read : at some point, all mbufs are used.
> But no error from write function ?
> 

I would expect write to block. I am not sure why you are not seeing 
this. Can you step into the write with a debugger to find out ?

Do you have a test program I could try ?

There are functions and commands in the RTEMS monitor which can show the 
mbuf usage and the packets in the queue. Maybe this can help show what 
is happening.

-- 
  Chris Johns



More information about the users mailing list