kinetic-c  v0.12.0
Seagate Kinetic Protocol Client Library for C
Functions
kinetic_socket.c File Reference
#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)
 

Function Documentation

int KineticSocket_Connect ( const char *  host,
int  port 
)
void KineticSocket_Close ( int  socket)

Definition at line 138 of file kinetic_socket.c.

References LOG1, LOG2, and LOGF0.

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.