#include <udpreceiver.h>
Public Member Functions | |
bool | init (int port, std::string localInterface) |
int | receive (void *data, unsigned int dataSize, int timeoutMicroSec) |
UDPReceiver () | |
~UDPReceiver () | |
Private Attributes | |
bool | initOK |
struct sockaddr_in | siMe_ |
struct sockaddr_in | siOther_ |
int | slen_ |
int | sock_ |
Definition at line 19 of file udpreceiver.h.
UDPReceiver::UDPReceiver | ( | ) |
Definition at line 16 of file udpreceiver.cpp.
UDPReceiver::~UDPReceiver | ( | ) |
Definition at line 22 of file udpreceiver.cpp.
bool UDPReceiver::init | ( | int | port, |
std::string | localInterface | ||
) |
Definition at line 33 of file udpreceiver.cpp.
int UDPReceiver::receive | ( | void * | data, |
unsigned int | dataSize, | ||
int | timeoutMicroSec | ||
) |
Definition at line 98 of file udpreceiver.cpp.
|
private |
Definition at line 45 of file udpreceiver.h.
|
private |
Definition at line 39 of file udpreceiver.h.
|
private |
Definition at line 41 of file udpreceiver.h.
|
private |
Definition at line 43 of file udpreceiver.h.
|
private |
Definition at line 42 of file udpreceiver.h.