[riot-notifications] [RIOT] Posix sockets (#226)

Oleg Hahm notifications at github.com
Mon Nov 25 12:55:57 CET 2013


> + * Public License. See the file LICENSE in the top level directory for more
> + * details.
> + */
> +
> +#include <errno.h>
> +#include <stdio.h>
> +#include <stdlib.h>
> +#include <string.h>
> +
> +#include "posix_io.h"
> +#include "board_uart0.h"
> +#include "unistd.h"
> +
> +#include "fd.h"
> +
> +#define FD_MAX 100

I think we should start with a much smaller number. The size of `fd_t` is 20 bytes on an ARM platform. Hence I guess we should rather set it to 10 or max. 20 here. For the MSP430 I would suggest a number < 10.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/226/files#r7888780
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131125/de0e2c84/attachment.html>


More information about the notifications mailing list