Data Fields | |
int | socketfd |
sockaddr_in | mcast_addr |
ip_mreq | mreq |
sockaddr_in | sender_ip_addr |
socklen_t | sender_ip_socket_size |
int | hasJoined |
|
low level socket descriptor |
|
inet address for the multicast channel |
|
mcast struct |
|
inet address for the sender of this packet |
|
used to stored the size of the above structure |
|
boolean, will be TRUE if we have joined a multicast group. we only join a multicast group if we are receiving packets |