client-c
0.8.1
|
#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 |
Copyright 2014-2016 CyberVision, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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.