#include <PosixSocket.h>
Inheritance diagram for PosixSocket::

Public Methods | |
| virtual | ~PosixSocket () |
| u_short | getPort () |
| const char * | getAddr () |
| int | setOption (int level, int optname, char *optval=NULL, int optlen=0) |
| int | getOption (int level, int optname, char *optval=NULL, int optlen=0) |
| int | bind (short port, char *address=NULL) |
| int | connect () |
Protected Methods | |
| PosixSocket (u_short port, const char *addr, u_short range) | |
| int | create (int type) |
| int | bind () |
| int | wait (u_long msec) |
Protected Attributes | |
| u_short | _port |
| u_short | _range |
| const char * | _addr |
| SOCKET | _sockFD |
|
||||||||||||||||
|
Definition at line 6 of file PosixSocket.cpp. |
|
|
Definition at line 14 of file PosixSocket.cpp. |
|
||||||||||||
|
Definition at line 97 of file PosixSocket.cpp. References _sockFD. |
|
|
Definition at line 77 of file PosixSocket.cpp. Referenced by PosixUDPSocket::open(), and PosixTCPServerSocket::open(). |
|
|
Definition at line 116 of file PosixSocket.cpp. References _port, and _sockFD. Referenced by PosixUDPSocket::open(), and PosixTCPSocket::open(). |
|
|
Definition at line 40 of file PosixSocket.cpp. References _sockFD. Referenced by PosixTCPServerSocket::PosixTCPServerSocket(), PosixTCPSocket::PosixTCPSocket(), and PosixUDPSocket::PosixUDPSocket(). |
|
|
Definition at line 31 of file PosixSocket.cpp. References _addr. |
|
||||||||||||||||||||
|
Definition at line 62 of file PosixSocket.cpp. References _sockFD. |
|
|
Definition at line 22 of file PosixSocket.cpp. References _port. |
|
||||||||||||||||||||
|
Definition at line 51 of file PosixSocket.cpp. References _sockFD. |
|
|
Referenced by UDPSocket::recv(). |
|
|
Definition at line 13 of file PosixSocket.h. Referenced by getAddr(), and PosixUDPSocket::open(). |
|
|
Definition at line 11 of file PosixSocket.h. Referenced by bind(), connect(), getPort(), and PosixUDPSocket::open(). |
|
|
Definition at line 12 of file PosixSocket.h. Referenced by bind(). |
|
|
Definition at line 14 of file PosixSocket.h. Referenced by PosixTCPServerSocket::accept(), bind(), Socket::close(), connect(), create(), getOption(), PosixTCPServerSocket::listen(), PosixUDPSocket::open(), PosixTCPSocket::open(), PosixTCPServerSocket::open(), PosixTCPSocket::read(), PosixTCPSocket::readline(), UDPSocket::recv(), Socket::select(), UDPSocket::send(), setOption(), PosixTCPSocket::shutdown(), and PosixTCPSocket::write(). |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001