我的 AutoIt 脚本应该接收发送到239.255.250.250:9131
. 但它不起作用,我看不到为UDPBind()
.
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 多播数据包?