![]() |
kinetic-c
v0.12.0
Seagate Kinetic Protocol Client Library for C
|
#include "kinetic_socket.h"
#include "kinetic_logger.h"
#include "kinetic_types_internal.h"
#include "kinetic.pb-c.h"
#include "protobuf-c/protobuf-c.h"
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/select.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <signal.h>
#include <poll.h>
#include "socket99.h"
Go to the source code of this file.
Functions | |
int | KineticSocket_Connect (const char *host, int port) |
void | KineticSocket_Close (int socket) |
void | KineticSocket_EnableTCPNoDelay (int socket) |
void | KineticSocket_BeginPacket (int socket) |
void | KineticSocket_FinishPacket (int socket) |
int KineticSocket_Connect | ( | const char * | host, |
int | port | ||
) |
Definition at line 47 of file kinetic_socket.c.
References KINETIC_OBJ_SIZE, KINETIC_SOCKET_DESCRIPTOR_INVALID, KineticSocket_EnableTCPNoDelay(), LOG0, LOGF0, and LOGF1.
void KineticSocket_Close | ( | int | socket | ) |
Definition at line 138 of file kinetic_socket.c.
void KineticSocket_EnableTCPNoDelay | ( | int | socket | ) |
Definition at line 156 of file kinetic_socket.c.
void KineticSocket_BeginPacket | ( | int | socket | ) |
Definition at line 162 of file kinetic_socket.c.
void KineticSocket_FinishPacket | ( | int | socket | ) |
Definition at line 172 of file kinetic_socket.c.