TCPMPL Interface

TCPMPL has been implemented in C++. It gives the features of TCPMPL as a class interface to the user application which uses it. The following is the class interface:

 
  class TCPMPL {

TCPMPL(void);

TCPMPL();

void initTCPMPL(int &argc, char ** &argv);

int getId(void) const;

int getTCPMPLSize()() const;

bool sendData(char *ptr, int nbytes, int id);

bool sendDataVector(const struct iovec *vector, int count, int id);

bool recvDataFrom(char *ptr, int nbytes, int id);

bool recvData(char *ptr, int nbytes, int *id);

bool probeForData(int *source, int *length, long seconds, long microseconds);

bool waitForData();

}



Radharamanan Radhakrishnan
Mon Mar 15 18:20:48 EST 1999