client-c
0.9.0
|
#include <sys/socket.h>
#include <sys/select.h>
#include <arpa/inet.h>
#include "../common/kaa_htonll.h"
Go to the source code of this file.
Macros | |
#define | KAA_HTONS(hostshort) htons((hostshort)) |
#define | KAA_HTONL(hostlong) htonl((hostlong)) |
#define | KAA_HTONLL(hostlonglong) htonll((hostlonglong)) |
#define | KAA_NTOHS(netshort) ntohs((netshort)) |
#define | KAA_NTOHL(netlong) ntohl((netlong)) |
#define | KAA_NTOHLL(netlonglong) ntohll((netlonglong)) |
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 39 of file posix_sock.h.
#define KAA_HTONLL | ( | hostlonglong | ) | htonll((hostlonglong)) |
Definition at line 40 of file posix_sock.h.
#define KAA_HTONS | ( | hostshort | ) | htons((hostshort)) |
Definition at line 38 of file posix_sock.h.
#define KAA_NTOHL | ( | netlong | ) | ntohl((netlong)) |
Definition at line 43 of file posix_sock.h.
#define KAA_NTOHLL | ( | netlonglong | ) | ntohll((netlonglong)) |
Definition at line 44 of file posix_sock.h.
#define KAA_NTOHS | ( | netshort | ) | ntohs((netshort)) |
Definition at line 42 of file posix_sock.h.
typedef int kaa_fd_t |
Definition at line 32 of file posix_sock.h.
typedef struct sockaddr_storage kaa_sockaddr_storage_t |
Definition at line 35 of file posix_sock.h.
typedef struct sockaddr kaa_sockaddr_t |
Definition at line 34 of file posix_sock.h.
typedef socklen_t kaa_socklen_t |
Definition at line 36 of file posix_sock.h.