Class ILLIXR::network::TCPSocket
ClassList > ILLIXR > network > TCPSocket
Public Functions
Type | Name |
---|---|
TCPSocket () |
|
TCPSocket (int fd) |
|
void | enable_no_delay () const |
string | local_address () const |
string | peer_address () const |
string | read_data (const size_t limit=BUFFER_SIZE) const |
int | socket_accept () const |
void | socket_bind (const string & ip, int port) const |
void | socket_connect (const string & ip, int port) const |
void | socket_listen (const int backlog=16) const |
void | socket_set_reuseaddr () const |
void | write_data (const string & buffer) |
~TCPSocket () |
Public Functions Documentation
function TCPSocket [1/2]
inline ILLIXR::network::TCPSocket::TCPSocket ()
function TCPSocket [2/2]
inline explicit ILLIXR::network::TCPSocket::TCPSocket (
int fd
)
function enable_no_delay
inline void ILLIXR::network::TCPSocket::enable_no_delay () const
function local_address
inline string ILLIXR::network::TCPSocket::local_address () const
function peer_address
inline string ILLIXR::network::TCPSocket::peer_address () const
function read_data
inline string ILLIXR::network::TCPSocket::read_data (
const size_t limit=BUFFER_SIZE
) const
function socket_accept
inline int ILLIXR::network::TCPSocket::socket_accept () const
function socket_bind
inline void ILLIXR::network::TCPSocket::socket_bind (
const string & ip,
int port
) const
function socket_connect
inline void ILLIXR::network::TCPSocket::socket_connect (
const string & ip,
int port
) const
function socket_listen
inline void ILLIXR::network::TCPSocket::socket_listen (
const int backlog=16
) const
function socket_set_reuseaddr
inline void ILLIXR::network::TCPSocket::socket_set_reuseaddr () const
function write_data
inline void ILLIXR::network::TCPSocket::write_data (
const string & buffer
)
function ~TCPSocket
inline ILLIXR::network::TCPSocket::~TCPSocket ()
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/include/illixr/network/tcpsocket.hpp