<div>hi, all:</div>
<div>             i am using netdemo example to develop a rhine netcard rtems driver.</div>
<div>             the sniffer can catch tcp packet when i test tcp transmitting, but when i test udp transmitting the console give</div>
<div> me  the folloing information:</div>
<div>        RTEMS:Can't send , No buffer space availble.</div>
<div>           i used gdb to find what happend, and i found the function called order is </div>
<div>            transmitUd  -> sendto -> sendmsg -> rtems_bsdnet_fdToSocket</div>
<div>           the program run into </div>
<div>if(( iop -> flags & LIBIO_FLAGS_OPEN) == 0 )</div>
<div>{</div>
<div>      errno = EBADF;</div>
<div>      return NULL;</div>
<div>}</div>
<div>          in the rtems_bsdnet_fdToSocket function , and the iop -> flags here is 0, so the error happened.</div>
<div>          According to this, can  anyone give me some advices? </div>
<div>           Thanks a lot.</div>