I'm trying to listen to SSDP multicast messages such as NOTIFY and SEARCH.
This is my code but I'm not seeing these messages even though wireshark sees them. So, how do I join the SSDP multicast group and receive messages?
Rebol []
attempt [close ssdp]
local-ip: read join dns:// read dns://
ssdp: open/binary udp://:8000
probe group: compose/deep [multicast-groups: [[235.255.255.250 (local-ip)]]]
set-modes ssdp group
forever [
port: wait [ssdp]
probe data: copy port
]