embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hal_socket.h
Go to the documentation of this file.
1 #ifndef _HAL_SOCKET_H_
2 #define _HAL_SOCKET_H_
3 
4 #include <sys/socket.h>
5 #include <netinet/in.h>
6 #include <unistd.h>
7 #include <errno.h>
8 #include <fcntl.h>
9 
10 #define SET_SOCKET_NONBLOCKING(s) fcntl(s, F_SETFL, O_NONBLOCK)
11 
12 #endif //_HAL_SOCKET_H_