SoDaRadio-5.0.3-master:8901fb5
|
#include <IPSockets.hxx>
Public Member Functions | |
ClientSocket (const char *hostname, int portnum, TransportType transport=TCP) | |
~ClientSocket () | |
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... More... | |
void | setNonBlocking () |
void | setBlocking () |
Private Attributes | |
struct hostent * | server |
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 123 of file IPSockets.hxx.
SoDa::IP::ClientSocket::ClientSocket | ( | const char * | hostname, |
int | portnum, | ||
TransportType | transport = TCP |
||
) |
Definition at line 85 of file IPSockets.cxx.
References SoDa::IP::NetSocket::conn_socket, SoDa::IP::NetSocket::setNonBlocking(), SoDa::IP::TCP, and SoDa::IP::UDP.
|
inline |
Definition at line 126 of file IPSockets.hxx.
|
private |
Definition at line 128 of file IPSockets.hxx.