UDP works in windows but not from my Android phone
Posted: Wed Aug 14, 2019 8:41 pm
Hello,
Rather new to Livecode, and testing if I can do what I need with LiveCode. So far no good...
I have written this simplistic script with a single button app/stack:
on mouseUp
put "/ch/01/mix/on" into tVar1
put numToChar(0) after tVar1
put numToChar(0) after tVar1
put numToChar(0) after tVar1
put ",i" & numToChar(0) & numToChar(0) after tVar1
put numToChar(0) after tVar1
put numToChar(0) after tVar1
put numToChar(0) after tVar1
put numToChar(1) after tVar1
put "192-168-1-68:10023" into tSocket
open datagram socket tSocket
write tVar1 to socket tSocket
end mouseUp
[above, replace - by . of course]
This compiles and works great on my Windows system both from Livecode and as a standalone app. I also built as android, loaded and installed on the phone.
I have a system that responds to 192-168-1-68:10023.
The app installs, loads and runs from the phone, button showing up, but nothing takes place when I press the button. My phone has IP 192-168-1-118, same network.
What goes on???
Rather new to Livecode, and testing if I can do what I need with LiveCode. So far no good...
I have written this simplistic script with a single button app/stack:
on mouseUp
put "/ch/01/mix/on" into tVar1
put numToChar(0) after tVar1
put numToChar(0) after tVar1
put numToChar(0) after tVar1
put ",i" & numToChar(0) & numToChar(0) after tVar1
put numToChar(0) after tVar1
put numToChar(0) after tVar1
put numToChar(0) after tVar1
put numToChar(1) after tVar1
put "192-168-1-68:10023" into tSocket
open datagram socket tSocket
write tVar1 to socket tSocket
end mouseUp
[above, replace - by . of course]
This compiles and works great on my Windows system both from Livecode and as a standalone app. I also built as android, loaded and installed on the phone.
I have a system that responds to 192-168-1-68:10023.
The app installs, loads and runs from the phone, button showing up, but nothing takes place when I press the button. My phone has IP 192-168-1-118, same network.
What goes on???