Add an interface_index argument to joinMulticastGroup.
This commit is contained in:
parent
8b95e9fb2d
commit
28e1a83057
3 changed files with 7 additions and 7 deletions
|
@ -279,7 +279,7 @@ interface EventDriverSockets {
|
|||
bool setBroadcast(DatagramSocketFD socket, bool enable);
|
||||
|
||||
/// Joins the multicast group associated with the given IP address.
|
||||
bool joinMulticastGroup(DatagramSocketFD socket, scope Address multicast_address);
|
||||
bool joinMulticastGroup(DatagramSocketFD socket, scope Address multicast_address, uint interface_index = 0);
|
||||
|
||||
/// Receives a single datagram.
|
||||
void receive(DatagramSocketFD socket, ubyte[] buffer, IOMode mode, DatagramIOCallback on_receive_finish);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue