client-c
0.7.0
|
#include <sys/socket.h>
#include <arpa/inet.h>
Go to the source code of this file.
Macros | |
#define | KAA_HTONS(hostshort) htons((hostshort)) |
#define | KAA_HTONL(hostlong) htonl((hostlong)) |
#define | KAA_NTOHS(netshort) ntohs((netshort)) |
#define | KAA_NTOHL(netlong) ntohl((netlong)) |
Typedefs | |
typedef int | kaa_fd_t |
typedef struct sockaddr | kaa_sockaddr_t |
typedef struct sockaddr_storage | kaa_sockaddr_storage_t |
typedef socklen_t | kaa_socklen_t |
#define KAA_HTONL | ( | hostlong | ) | htonl((hostlong)) |
Definition at line 37 of file posix_sock.h.
#define KAA_HTONS | ( | hostshort | ) | htons((hostshort)) |
Definition at line 36 of file posix_sock.h.
#define KAA_NTOHL | ( | netlong | ) | ntohl((netlong)) |
Definition at line 40 of file posix_sock.h.
#define KAA_NTOHS | ( | netshort | ) | ntohs((netshort)) |
Definition at line 39 of file posix_sock.h.
typedef int kaa_fd_t |
Definition at line 29 of file posix_sock.h.
typedef struct sockaddr_storage kaa_sockaddr_storage_t |
Definition at line 32 of file posix_sock.h.
typedef struct sockaddr kaa_sockaddr_t |
Definition at line 31 of file posix_sock.h.
typedef socklen_t kaa_socklen_t |
Definition at line 33 of file posix_sock.h.