RttcpipAddMultiRoute
RttcpipAddMultiRoute adds multicast IP address to the routing table on the selected device. After allocating a new entry in the IGMP table, it then sends the IGMP report of the new entry.
Syntax
Copy
INT RttcpipAddMultiRoute(
CHAR *DeviceName,
INT Family,
ULONG IpAddress
);
Parameters
DeviceName
Ascii device name.
Family
IP address family - AF_INET or AF_INET6.
IpAddress
IpAddress in network byte order.
Return Value
If this function succeeds, it returns 0 (zero). If this function fails, it returns -1.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
RttcpipApi.h |
RtTcpipApi.lib |