Referring to https://www.b4x.com/android/forum/threads/android-network-tutorial.7001/
i need to create a syncronous socket (Android -> PC), i don't want to write code in the socket connected event but i want to write code in the same sub, for example:
socket.connect
(wait for socket connected)
if socket.connected then
socket.senddata
end if
socket.close
is this possibile?
thanks
i need to create a syncronous socket (Android -> PC), i don't want to write code in the socket connected event but i want to write code in the same sub, for example:
socket.connect
(wait for socket connected)
if socket.connected then
socket.senddata
end if
socket.close
is this possibile?
thanks