Question about socket

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jan 2 11:02:25 UTC 2018


Hello,

FD_SETSIZE must be >= CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS. You can 
define FD_SETSIZE yourself, however, this is quite brittle since you 
must do this for every include of <sys/select.h> (e.g. also in external 
libraries). A better alternative to select() is kqueue() if you use the 
libbsd.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list