Multicast with AF_LOCAL or AF_UNIX sockets on Linux? -


is possible have multicast communications on af_unix sock_dgram socket on linux ?

apparently a patch proposed on decade ago. however, cannot find resource on internet showing usage. , following simple code reports operation not supported.

u_int yes = 1; int fd = socket(af_local, sock_dgram, 0); setsockopt(fd, sol_socket, so_reuseaddr, &yes, sizeof(yes)); 

the patch refer never applied.

you can't multicast on af_unix sockets, , @ least on linux, so_reuseaddr doesn't have meaning (it's not implemented) af_unix sockets.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -