#include <udp_server.h>
Public Member Functions | |
ssize_t | recv (std::string &buffer) |
ssize_t | send (std::string &buffer) |
bool | set_timeout (int millisecs) |
UDPServer (std::string host, unsigned short port) | |
~UDPServer () | |
Private Attributes | |
char | buffer_ [BUFSIZE] |
struct sockaddr_in | clientaddr_ |
socklen_t | clientlen_ |
std::string | local_host_ |
unsigned short | local_port_ |
int | optval |
struct sockaddr_in | serveraddr_ |
int | sockfd_ |
bool | timeout_ |
struct timeval | tv_ |
Definition at line 62 of file udp_server.h.
|
inline |
Definition at line 65 of file udp_server.h.
|
inline |
Definition at line 81 of file udp_server.h.
|
inline |
Definition at line 113 of file udp_server.h.
|
inline |
Definition at line 101 of file udp_server.h.
|
inline |
Definition at line 86 of file udp_server.h.
|
private |
Definition at line 172 of file udp_server.h.
|
private |
Definition at line 171 of file udp_server.h.
|
private |
Definition at line 169 of file udp_server.h.
|
private |
Definition at line 163 of file udp_server.h.
|
private |
Definition at line 164 of file udp_server.h.
|
private |
Definition at line 173 of file udp_server.h.
|
private |
Definition at line 170 of file udp_server.h.
|
private |
Definition at line 168 of file udp_server.h.
|
private |
Definition at line 165 of file udp_server.h.
|
private |
Definition at line 166 of file udp_server.h.