class tcpbuf : public ipbuf

Inheritance:

Public Methods

INT Accept (UNISOCK *NewSocket)
void BlockingModeOFF ()
void BlockingModeON ()
tcpbuf* Close ()
INT DataReady (INT4 SecondsToWait = 0)
UINT4 DataReadyCount ()
void ErrorMessage (PCHR msg, INT maxlen)
void ErrorMessage (INT err, PCHR msg, INT maxlen)
INT IsConnected ()
INT LastError ()
void Listen (UINT port, INT backlog)
tcpbuf* Open (const CHR *host, UINT port)
INT overflow (INT c = EOF)
void SetSocket (TCPSOCK & NewSocket)
void SetSocket (TSOCKET NewSocket, INT State=UNI_CONNECTED)
TSOCKET Socket ()
INT sputc (INT c)
INT sync ()
tcpbuf ()
INT underflow ()
~tcpbuf ()

Private Fields

TCPSOCK c_socket
friend class tcpstream

Inherited from ipbuf:

Public Methods

void DumpPointers()

Protected Methods

void init()

Private Fields

char c_buffer[IPBUF_BUFSIZE]
INT c_error
friend class ipstream

Documentation

friend class tcpstream

TCPSOCK c_socket

tcpbuf()

~tcpbuf()

tcpbuf* Open(const CHR *host, UINT port)

tcpbuf* Close()

void Listen(UINT port, INT backlog)

INT Accept(UNISOCK *NewSocket)

void BlockingModeON()

void BlockingModeOFF()

INT IsConnected()

void SetSocket(TSOCKET NewSocket, INT State=UNI_CONNECTED)

void SetSocket(TCPSOCK & NewSocket)

TSOCKET Socket()

INT DataReady(INT4 SecondsToWait = 0)

UINT4 DataReadyCount()

INT LastError()

void ErrorMessage(INT err, PCHR msg, INT maxlen)

void ErrorMessage(PCHR msg, INT maxlen)

INT overflow(INT c = EOF)

INT sputc(INT c)

INT underflow()

INT sync()

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Z&oumlckler, Roland Wunderling
contact: doc++@zib.de