#include <OnixS/FIXEngine/Sockets/MulticastClient.h>
Public Types | |
| enum | |
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 Bytes & | receive () |
| const Bytes & | receive (long timeoutInMilliseconds) |
| void | send (const std::string &packet) |
| void | send (const void *packet, size_t packetSize) |
Provides the User Datagram Protocol (UDP) multicast mode network services.
Definition at line 30 of file MulticastClient.h.
| anonymous enum |
The maximum UDP packet size.
| Enumerator | ||
|---|---|---|
| MaximumUdpPacketSize | 65535 | |
Definition at line 73 of file MulticastClient.h.
| MulticastClient | ( | ) |
Creates a MulticastClient.
|
virtual |
Finalize the instance.
| void drop | ( | ) |
Leaves the multicast group.
| void join | ( | const std::string & | ip, |
| int | port ) |
Adds a MulticastClient to the multicast group using all network interfaces.
| void join | ( | const std::string & | ip, |
| int | port, | ||
| const std::string & | networkInterface ) |
Adds a MulticastClient to the multicast group using the given network interface.
| const Bytes & receive | ( | ) |
Receives a multicast packet.
| const Bytes & receive | ( | long | timeoutInMilliseconds | ) |
Receives a multicast packet.
| void send | ( | const std::string & | packet | ) |
Sends the given multicast packet.
| void send | ( | const void * | packet, |
| size_t | packetSize ) |
Sends the given multicast packet.