The two functions we use to set and get socket options have the following parameters:
socket is the descriptor of the socket for which we change or get options. For IP multicasting, the socket has to belong to the AF_INET family. Because we can only use either UDP or Raw-IP for multicast communication, the socket will be of the type SOCK_DGRAM or SOCK_RAW.