![]() |
SoDaRadio-12.2.0-cut_dependencies:6c82803
|
#include <IPSockets.hxx>
Public Member Functions | |
| ServerSocket (int portnum, TransportType transport=TCP) | |
| ~ServerSocket () | |
| bool | isReady () |
| int | get (void *ptr, unsigned int size) |
| int | put (const void *ptr, unsigned int size) |
| Public Member Functions inherited from SoDa::IP::NetSocket | |
| NetSocket () | |
| int | put (const void *ptr, unsigned int size) |
| int | get (void *ptr, unsigned int size) |
| int | putRaw (const void *ptr, unsigned int size) |
| int | getRaw (const void *ptr, unsigned int size, unsigned int usec_timeout=0) |
| get a raw string of <size> bytes... | |
| void | setNonBlocking () |
| void | setBlocking () |
Protected Attributes | |
| bool | ready |
Additional Inherited Members | |
| Public Attributes inherited from SoDa::IP::NetSocket | |
| int | server_socket |
| int | conn_socket |
| int | portnum |
| struct sockaddr_in server_address | client_address |
| bool | non_blocking_mode |
| struct timeval | timeout |
Definition at line 104 of file IPSockets.hxx.
| SoDa::IP::ServerSocket::ServerSocket | ( | int | portnum, |
| TransportType | transport = TCP ) |
References SoDa::IP::NetSocket::portnum, and SoDa::IP::TCP.
Referenced by SoDa::IP::LineServerSocket::LineServerSocket().
|
inline |
Definition at line 107 of file IPSockets.hxx.
References SoDa::IP::NetSocket::conn_socket, and SoDa::IP::NetSocket::server_socket.
|
inline |
Definition at line 110 of file IPSockets.hxx.
References SoDa::IP::NetSocket::get(), and ready.
| bool SoDa::IP::ServerSocket::isReady | ( | ) |
Referenced by SoDa::IP::LineServerSocket::getLine().
|
inline |
Definition at line 115 of file IPSockets.hxx.
References SoDa::IP::NetSocket::put(), and ready.
|
protected |
Definition at line 122 of file IPSockets.hxx.
Referenced by get(), SoDa::IP::LineServerSocket::getLine(), and put().