GNOME Bugzilla – Bug 688378
g_socket_join_multicast_group not working
Last modified: 2012-11-15 16:10:57 UTC
g_socket_join_multicast_group() and also g_socket_leave_multicast_group() don't work because the structure passed to setsockopt() is not properly cleared. in g_socket_multicast_group_operation(), mc_req is passed to setsockopt but only the address and interface are set, the other field (imr_address) is left to random values and causes setsockopt to randomly fail with ENODEV (No such device).
Created attachment 229036 [details] [review] proposed fix
In case you want me to commit, I don't have commit access to gnome..
ah, ok, pushed. thanks for the patch