1 #ifndef ACL_SANE_SOCKET_INCLUDE_H 2 #define ACL_SANE_SOCKET_INCLUDE_H 8 #include "../stdlib/acl_define.h" 11 #include <sys/socket.h> 12 #include <netinet/in.h> 14 #include <arpa/inet.h> ACL_API int acl_getsockname(ACL_SOCKET fd, char *buf, size_t bsize)
ACL_API int acl_getpeername(ACL_SOCKET fd, char *buf, size_t bsize)
ACL_API int acl_check_socket(ACL_SOCKET fd)
ACL_API int acl_getsocktype(ACL_SOCKET fd)
ACL_API int acl_is_listening_socket(ACL_SOCKET fd)