Re: [EXTERNAL] Re: select call on a UDP socket with BSD library?

2020-09-01 Thread Cudmore, Alan P. (GSFC-5820)
The FD_SETSIZE limit was my problem. I defined FD_SETSIZE=256 on the command line and the select call worked. On the SPARC/LEON3 with the legacy network stack, the file descriptor was 42 so it did not reach the limit of 64. Thank you for the quick help and the documentation updates. I was

Re: select call on a UDP socket with BSD library?

2020-08-31 Thread Sebastian Huber
On 01/09/2020 05:31, Ian Caddy wrote: On 1/09/2020 10:48 am, Chris Johns wrote: On 1/9/20 6:14 am, Cudmore, Alan P. (GSFC-5820) wrote: I am having problems using the “select” call with an RTEMS + LibBSD network socket. I’m trying to use “select” to check the socket (using a timeout of

Re: select call on a UDP socket with BSD library?

2020-08-31 Thread Sebastian Huber
On 01/09/2020 04:48, Chris Johns wrote: The fd in this instance is 77 and I have RTEMS setup for 200 file descriptors. Are there any other LibBSD configuration parameters I should be aware of? I am sorry but 77 is to high because newlib by default limits the fd set size to 64... # ifndef

Re: select call on a UDP socket with BSD library?

2020-08-31 Thread Ian Caddy
On 1/09/2020 10:48 am, Chris Johns wrote: On 1/9/20 6:14 am, Cudmore, Alan P. (GSFC-5820) wrote: I am having problems using the “select” call with an RTEMS + LibBSD network socket. I’m trying to use “select” to check the socket (using a timeout of zero), but when I call select I get a -1

Re: select call on a UDP socket with BSD library?

2020-08-31 Thread Chris Johns
On 1/9/20 6:14 am, Cudmore, Alan P. (GSFC-5820) wrote: > I am having problems using the “select” call with an RTEMS + LibBSD network > socket. > > Here is what I am using: > > RTEMS 5.1 RSB, RTEMS source, and RTEMS LibBSD release files. > > ARM/Beagleboneblack + LibBSD > > I have verified

select call on a UDP socket with BSD library?

2020-08-31 Thread Cudmore, Alan P. (GSFC-5820)
I am having problems using the “select” call with an RTEMS + LibBSD network socket. Here is what I am using: RTEMS 5.1 RSB, RTEMS source, and RTEMS LibBSD release files. ARM/Beagleboneblack + LibBSD I have verified that the network is initialized (ethernet device on the beaglebone) and I can