#include <Iguana/Utilities/classlib/iobase/Socket.h>
The actual implementation and connection details are handled by derived classes, but communication (reading and writing) can be done through this interface.
The sockets support:
Definition at line 46 of file Socket.h.
lat::Socket::~Socket | ( | void | ) |
lat::Socket::Socket | ( | void | ) | [protected] |
Referenced by VisNet::run(), IgNet::run(), and DQMNet::run().
Referenced by DQMNet::onPeerConnect(), IgNet::onPeerConnect(), and VisNet::onPeerConnect().
void lat::Socket::bind | ( | const SocketAddress & | addr | ) | [protected] |
Reimplemented from lat::IOChannel.
Referenced by IgNet::losePeer(), DQMNet::losePeer(), and VisNet::losePeer().
void lat::Socket::connect | ( | const SocketAddress & | addr | ) | [protected] |
Implemented in lat::InetServerSocket, lat::InetSocket, lat::LocalServerSocket, and lat::LocalSocket.
virtual int lat::Socket::getopt | ( | int | option, | |
void * | p, | |||
size_t | n, | |||
int | level = SocketConst::OptLevelSocket | |||
) | const [virtual] |
virtual int lat::Socket::getopt | ( | int | option, | |
int | level = SocketConst::OptLevelSocket | |||
) | const [virtual] |
IOSize lat::Socket::peek | ( | void * | into, | |
IOSize | n, | |||
SocketAddress & | source | |||
) | [protected] |
size_t lat::Socket::peername | ( | SocketAddress & | addr | ) | [protected] |
IOSize lat::Socket::read | ( | void * | into, | |
IOSize | n, | |||
SocketAddress & | source | |||
) | [protected] |
Reimplemented from lat::IOChannel.
virtual void lat::Socket::select | ( | IOSelectMethod * | to, | |
const IOSelectRequest & | req | |||
) | [protected, virtual] |
Reimplemented from lat::IOChannel.
virtual void lat::Socket::setopt | ( | int | option, | |
const void * | p, | |||
size_t | n, | |||
int | level = SocketConst::OptLevelSocket | |||
) | const [virtual] |
virtual void lat::Socket::setopt | ( | int | option, | |
int | n, | |||
int | level = SocketConst::OptLevelSocket | |||
) | const [virtual] |
Referenced by VisNet::run(), IgNet::run(), DQMNet::run(), DQMNet::startLocalServer(), VisNet::startLocalServer(), and IgNet::startLocalServer().
size_t lat::Socket::sockname | ( | SocketAddress & | addr | ) | [protected] |
IOSize lat::Socket::write | ( | const void * | from, | |
IOSize | n, | |||
const SocketAddress & | dest | |||
) | [protected] |
Reimplemented from lat::IOChannel.
void* lat::Socket::m_extra [private] |
bool lat::Socket::m_oob [private] |