#include <OnixS/FIXEngine/Sockets/MulticastClient.h>
Definition at line 30 of file MulticastClient.h.
The maximum UDP packet size.
Enumerator |
---|
MaximumUdpPacketSize |
|
Definition at line 73 of file MulticastClient.h.
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.
Receives a multicast packet.
- Note
- Blocks until the packet is received.
-
The multicast group must be joined first.
- Returns
- The received multicast packet.
const Bytes& receive |
( |
long |
timeoutInMilliseconds | ) |
|
Receives a multicast packet.
- Note
- Blocks until the packet is received or the timeout period is elapsed.
-
The multicast group must be joined first.
- Returns
- The received multicast packet or an empty vector if the timeout period is elapsed.
void send |
( |
const std::string & |
packet | ) |
|
Sends the given multicast packet.
void send |
( |
const void * |
packet, |
|
|
size_t |
packetSize |
|
) |
| |
Sends the given multicast packet.
The documentation for this class was generated from the following file: