linux - listing multicast sockets -


i trying list opened multicast sockets on linux system? netstat -g lists groups joined though. there other utility can use sake?

thanks lot help.

in addition netstat -g can use see sockets bound multicast address:

netstat -anu|sort -nk4 

this list of udp sockets (whether multicast or not). addresses in range 224.0.0.0 239.255.255.255. these sockets bound multicast addresses, regardless whether joined multicast group or not. these only receive traffic multicast group.

but:

in practice udp sockets used receive multicast traffic bound address 0.0.0.0. these can receive udp packets unicast , multicast addresses, , server additional filtering based on source-ip-address.

so in list above may want @ udp sockets bound 0.0.0.0, example 0.0.0.0:5353 mdns (avahi, zeroconf) server.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -