libftc
|
#include "ftc.h"
#include <inttypes.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <errno.h>
#include <unistd.h>
#include <stdexcept>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <vector>
Vá para o código-fonte deste arquivo.
Componentes | |
struct | ftc_detail::anonymous_namespace{ftc.cpp}::errno_buffer_ref |
struct | ftc_detail::anonymous_namespace{ftc.cpp}::errno_buffer |
struct | ftc_detail::anonymous_namespace{ftc.cpp}::socket |
Namespaces | |
ftc_detail | |
ftc_detail::anonymous_namespace{ftc.cpp} | |
Definições e Macros | |
#define | WIN32_LEAN_AND_MEAN |
#define | TEC_INVALID_SOCKET (-1) |
#define | TEC_SOCKET_ERROR (-1) |
Definições de Tipos | |
typedef int | ftc_detail::socket_type |
Funções | |
void | ftc_detail::anonymous_namespace{ftc.cpp}::send (socket_type socket, const char *buffer, std::size_t size) |
void | ftc_detail::anonymous_namespace{ftc.cpp}::recv (socket_type socket, char *buffer, std::size_t size) |
errno_buffer | ftc_detail::anonymous_namespace{ftc.cpp}::errno_message () |
void | ftc_detail::anonymous_namespace{ftc.cpp}::close (socket_type s) |
void | ftc_detail::anonymous_namespace{ftc.cpp}::throw_exception (int status, const char *message) |
void | ftc_detail::anonymous_namespace{ftc.cpp}::throw_exception (const char *message) |
int | ftc_detail::anonymous_namespace{ftc.cpp}::recv_status (socket_type socket) |
void | ftc_detail::anonymous_namespace{ftc.cpp}::endian_swap (char *, std::size_t) |
unsigned long long | ftc_detail::anonymous_namespace{ftc.cpp}::return_long_long_command (socket_type socket, char command) |