class UNISOCK

Inheritance:

Public Methods

INT Accept (UNISOCK *NewSocket)
void BlockingMode (INT f)
void BlockingModeOFF ()
void BlockingModeON ()
void Close ()
void Connect (SOCKADDR *name)
INT DataReady (INT4 SecondsToWait = 0)
INT4 DataReadyCount ()
void ErrorMessage (PCHR msg, INT maxlen)
void ErrorMessage (INT err, PCHR msg, INT maxlen)
void GetHostname (STRING *Hostname)
void GetIPAddress (STRING *Address)
INT IsConnected ()
INT LastError ()
void Listen (UINT Port, INT backlog)
UNISOCK& operator= (const UNISOCK & Other)
INT Recv (PCHR buf, INT len)
INT Send (PCHR buf, INT len)
void SetHostname (CHR *Hostname)
void SetIPAddress (CHR *Address)
void SetSocket (TSOCKET NewSocket, INT State=UNI_CONNECTED)
TSOCKET Socket ()
GDT_BOOLEAN StartedByInetd ()
UNISOCK (INT family, INT comm_type, INT protocol)
~UNISOCK ()

Protected Fields

c_addinfo
c_comm_type
INT c_error
c_family
STRING c_hostname
GDT_BOOLEAN c_inetd
c_inetd_not_set_yet
c_ipaddress
c_protocol
c_reverse_name_lookup
TSOCKET c_socket
c_state

Documentation

TSOCKET c_socket

INT c_error

c_state

c_family

c_comm_type

c_protocol

c_reverse_name_lookup

STRING c_hostname

c_ipaddress

c_addinfo

GDT_BOOLEAN c_inetd

c_inetd_not_set_yet

UNISOCK(INT family, INT comm_type, INT protocol)

~UNISOCK()

UNISOCK& operator=(const UNISOCK & Other)

void SetHostname(CHR *Hostname)

void GetHostname(STRING *Hostname)

void SetIPAddress(CHR *Address)

void GetIPAddress(STRING *Address)

void Connect(SOCKADDR *name)

void Listen(UINT Port, INT backlog)

INT Accept(UNISOCK *NewSocket)

INT IsConnected()

void Close()

INT Send(PCHR buf, INT len)

INT Recv(PCHR buf, INT len)

INT DataReady(INT4 SecondsToWait = 0)

INT4 DataReadyCount()

INT LastError()

void ErrorMessage(PCHR msg, INT maxlen)

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

TSOCKET Socket()

void SetSocket(TSOCKET NewSocket, INT State=UNI_CONNECTED)

void BlockingMode(INT f)

void BlockingModeON()

void BlockingModeOFF()

GDT_BOOLEAN StartedByInetd()

Direct child classes:
TCPSOCK

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