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

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -