Main Page
Related Pages
Modules
Data Structures
Files
Examples
Definitions
Multicast
Multicast check
Macro for testing multicast messages
#define
IS_MULTICAST
(a) ((a & 0x00f00000) == 0x00e00000 )
Detailed Description
Macro Definition Documentation
#define IS_MULTICAST
(
a
)
((a & 0x00f00000) == 0x00e00000 )
use with
socket_struct
->
mc_group_addr
if
(
IS_MULTICAST
(so-> mc_group_addr))
{
printf (
" New multicast data received\r\n"
);
}
else
{
printf (
" New data received\r\n"
);
}
Examples:
Multicast.c
.
Document version "1.30" generated on Tue Jun 4 2019 by