SoDaRadio-5.0.3-master:8901fb5
|
#include <UDSockets.hxx>
Public Member Functions | |
NetSocket () | |
int | put (const void *ptr, unsigned int size) |
int | get (void *ptr, unsigned int size) |
Public Attributes | |
int | server_socket |
int | conn_socket |
int | portnum |
struct sockaddr_un server_address | client_address |
struct timeval | timeout |
Private Member Functions | |
int | loopWrite (int fd, const void *ptr, unsigned int nbytes) |
Definition at line 46 of file UDSockets.hxx.
|
inline |
Definition at line 48 of file UDSockets.hxx.
int SoDa::UD::NetSocket::get | ( | void * | ptr, |
unsigned int | size | ||
) |
Definition at line 175 of file UDSockets.cxx.
References conn_socket.
Referenced by SoDa::UD::ServerSocket::get(), and main().
|
private |
Definition at line 140 of file UDSockets.cxx.
Referenced by put().
int SoDa::UD::NetSocket::put | ( | const void * | ptr, |
unsigned int | size | ||
) |
Definition at line 162 of file UDSockets.cxx.
References conn_socket, and loopWrite().
Referenced by main(), NetSocket(), and SoDa::UD::ServerSocket::put().
struct sockaddr_un server_address SoDa::UD::NetSocket::client_address |
Definition at line 58 of file UDSockets.hxx.
Referenced by SoDa::UD::ServerSocket::isReady().
int SoDa::UD::NetSocket::conn_socket |
Definition at line 57 of file UDSockets.hxx.
Referenced by SoDa::UD::ClientSocket::ClientSocket(), get(), SoDa::UD::ServerSocket::isReady(), put(), SoDa::UD::ClientSocket::~ClientSocket(), and SoDa::UD::ServerSocket::~ServerSocket().
int SoDa::UD::NetSocket::portnum |
Definition at line 57 of file UDSockets.hxx.
int SoDa::UD::NetSocket::server_socket |
Definition at line 57 of file UDSockets.hxx.
Referenced by SoDa::UD::ServerSocket::isReady(), SoDa::UD::ServerSocket::ServerSocket(), and SoDa::UD::ServerSocket::~ServerSocket().
struct timeval SoDa::UD::NetSocket::timeout |
Definition at line 60 of file UDSockets.hxx.
Referenced by NetSocket().