Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

SockClient Class Reference

List of all members.

Detailed Description

Definition at line 15 of file client.h.

Public Types

enum  {
  E_NONE, E_SOCKET_CREAT = -1, E_CONNECT = -2, E_HOST_LOOKUP = -3,
  E_RD = -4, E_SELECT = -5, E_TIMEOUT = -6, E_WRT = -7,
  E_END = -8
}

Public Member Functions

int connect2Server (char *hostName, int portNum)
void disconnect (char *bytes, int len)
void disconnect ()
const char * errMsg (int code)
int readLine (char *buf, int maxBytes, struct timeval tout, int stripNLcharFlag=TRUE)
int readn (char *buf, int nBytes, int timeOut)
int reconnect ()
int writen (char *buf, int nBytes)

Protected Attributes

int sockFd


The documentation for this class was generated from the following files:
Generated on Mon Apr 30 13:32:47 2007 for Parkes M & C - PKMC C++ library API by  doxygen 1.4.4