[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Udp no buffer error
- Date: Mon, 26 May 2008 16:16:31 +0800
- From: fall4ufeng at gmail.com (fall4ufeng)
- Subject: Udp no buffer error
hi all:
I met "RTEMS:Can't send :No buffer space available" error when i test the UDP transmit.
I only tried to send 500 small packets.I added rtems_bsdnet_show_mbuf_stats() before the program exited,
and the output is as following:
************ MBUF STATISTICS ************
mbufs:1024 clusters: 128 free: 59
drops: 0 waits: 0 drains: 0
free:898 data:126 header:0 socket:0
pcb:0 rtable:0 htable:0 atable:0
soname:0 soopts:0 ftable:0 rights:0
ifaddr:0 control:0 oobdata:0
It can send packets successfully when i added sleep(1) between it trasnmit each packet.
Can someone give advices ? Thanks .
2008-05-26
fall4ufeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rtems.rtems.org/pipermail/rtems-users/attachments/20080526/79426568/attachment.html