Sending and receiving udp packets??
Posted: 23 Sep 2019, 11:26
First of all is it even possible with ahk? and if it is heres my example of what it should look like
any help is appreciated !
if you didnt get it by now im trying to control a yeelight via autohotkey...
one good source i found: https://autohotkey.com/board/topic/117030-simple-udp-client-upnp-discover/
Code: Select all
port = 1982
ip = 192.168.1.109
data = (
M-SEARCH * HTTP/1.1`r
HOST: 239.255.255.250:1982`r
MAN: "ssdp:discover"`r
ST: wifi_bulb`r
)
udpSend(port=%port%, ip=%ip%, data=%data%)
if you didnt get it by now im trying to control a yeelight via autohotkey...
one good source i found: https://autohotkey.com/board/topic/117030-simple-udp-client-upnp-discover/