Android Question poll method equivalent in B4A


Active Member
Licensed User
I am creating a small procedure using the library " Network " to connect to a remote server; problem is that this procedure must not use the event "onConnect" but must be created in a single procedure , without using events; when i used other programming languages, i used the method "poll " to wait for the socket to connect , and then send the data

could you please tell me how to achieve this in basic4android ? Since there is not the "poll" method
Sincerely Yours