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

Socket Class Reference

#include <Socket.h>

Inheritance diagram for Socket::

PosixSocket PosixSocket PosixTCPServerSocket PosixTCPSocket PosixUDPSocket TCPServerSocket TCPServerSocket TCPSocket TCPSocket UDPSocket UDPSocket List of all members.

Public Methods

int close ()
virtual int close ()

Static Public Methods

int select (Socket **slist, int count, unsigned long msec=-1)

Protected Methods

 Socket (short port, const char *addr, short range)
 ~Socket ()
 Socket (u_short port, const char *addr, u_short range)
 ~Socket ()

Constructor & Destructor Documentation

Socket::Socket short    port,
const char *    addr,
short    range
[inline, protected]
 

Definition at line 12 of file Solaris/Socket.h.

Socket::~Socket   [protected]
 

Definition at line 3 of file Solaris/Socket.cpp.

References close().

Socket::Socket u_short    port,
const char *    addr,
u_short    range
[inline, protected]
 

Definition at line 19 of file WinNT/Socket.h.

Socket::~Socket   [protected]
 


Member Function Documentation

virtual int Socket::close   [virtual]
 

Reimplemented in PosixTCPSocket.

int Socket::close  
 

Reimplemented in PosixTCPSocket.

Definition at line 9 of file Solaris/Socket.cpp.

References PosixSocket::_sockFD.

Referenced by PosixTCPSocket::close(), ~Socket(), UDPInputStream::~UDPInputStream(), and UDPOutputStream::~UDPOutputStream().

int Socket::select Socket **    slist,
int    count,
unsigned long    msec = -1
[static]
 

Definition at line 26 of file WinNT/Socket.cpp.

References PosixSocket::_sockFD, and SOCKET.


The documentation for this class was generated from the following files:
Generated on Mon Oct 7 09:33:37 2002 for Gaia by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001