我的AutoIt脚本应该接收发送到
下面代码中的
239.255.250.250:9131
的UDP多播数据包。但它无法工作,我看不到指定UDPBind()
的UDP多播地址的选项。下面代码中的
UDPBind()
返回错误 10049
(无效地址):UDPStartup()
UDPBind("239.255.250.250", 9131)
While 1
$msg = UDPRecv($recv, 512)
If $msg <> "" Then
ConsoleWrite($msg)
EndIf
Sleep(100)
WEnd
如何监听UDP多播数据包?