Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

tcp-utils.cc File Reference

#include "tcp-utils.h"

Functions

int connectbyport (const char *host, const char *port)
int connectbyservice (const char *host, const char *service)
int connectbyportint (const char *host, const unsigned short port)
int connectbyport_ip (boost::uint32_t ip, boost::uint16_t port)
int passivesocketstr (const char *port, const int backlog)
int passivesocketserv (const char *service, const int backlog)
int passivesockaux (const unsigned short port, const int backlog, const unsigned long int ip_addr)
int passivesocket (const unsigned short port, const int backlog)
int controlsocket (const unsigned short port, const int backlog)
int recv_nonblock (const int sd, char *buf, const size_t max, const int timeout)
int readline (const int fd, char *buf, const size_t max)

Function Documentation

int connectbyport const char *  host,
const char *  port
 

int connectbyport_ip boost::uint32_t  ip,
boost::uint16_t  port
 

int connectbyportint const char *  host,
const unsigned short  port
 

int connectbyservice const char *  host,
const char *  service
 

int controlsocket const unsigned short  port,
const int  backlog
 

int passivesockaux const unsigned short  port,
const int  backlog,
const unsigned long int  ip_addr
 

int passivesocket const unsigned short  port,
const int  backlog
 

int passivesocketserv const char *  service,
const int  backlog
 

int passivesocketstr const char *  port,
const int  backlog
 

int readline const int  fd,
char *  buf,
const size_t  max
 

int recv_nonblock const int  sd,
char *  buf,
const size_t  max,
const int  timeout
 


Generated on Wed May 24 23:03:25 2006 for RTSync by  doxygen 1.4.4