UDP error

Angelo Fraietta afraiett at bigpond.net.au
Thu Jul 8 22:13:42 UTC 2004


Thomas Rauscher wrote:

> If this error occurs, try dumping the IP interface and mbuf statistics
> to find out where the limit is.
> 
> rtems_bsdnet_show_if_stats();
> rtems_bsdnet_show_mbuf_stats();
> 
Do I do this when the error orrcurs? My application does not have a 
keyboard input.

> Did you set the SO_BROADCAST option on your sending socket?
> I think I needed this: 
> 
>   int broadcast = 1;
>   if(setsockopt(fd, SOL_SOCKET, SO_BROADCAST, &broadcast,
> sizeof(broadcast)) != 0)
>   {
>     printf("setsockopt failed: %s!\n", strerror(errno));
>   }
> 
Yes - I did that. That part is fine.
> 

Thanks

Warmest regards
-- 
Angelo Fraietta

PO Box 859
Hamilton NSW 2303

Home Page


http://www.users.bigpond.com/angelo_f/

There are those who seek knowledge for the sake of knowledge - that is 
CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
     Bernard of Clairvaux (1090 - 1153)





More information about the users mailing list