Provides User Datagram Protocol (UDP) multicast mode network services.
Public Member Functions | |
MulticastClient () | |
virtual | ~MulticastClient () |
void | join (const std::string &ip, int port) |
void | join (const std::string &ip, int port, const std::string &networkInterface) |
void | drop () |
const std::vector< char > & | receive () |
const std::vector< char > & | receive (long timeoutInMilliseconds) |
void | send (const std::string &packet) |
void | send (const char *packet, size_t packetSize) |
const std::vector<char>& receive | ( | long | timeoutInMilliseconds | ) |
Receives a multicast packet.
const std::vector<char>& receive | ( | ) |
Receives a multicast packet.