Page 1 of 1

Temporary "Hang"

Posted: Thu Aug 22, 2024 2:09 am
by Googie85
Hii Guys!!

I am trying to receive a file over sockets and it seems to "hang" on the following code.

Code: Select all

on NEWMESSAGE theIP pmsg
 if char -5 to -1 of pmsg is "file§" then
When I press down on the Android screen, the transfer is instantly received (over LAN). Otherwise, it pauses for 5 to 10 seconds before the transfer completes. I have tried "focus on nothing" and that doesn't produce the desired result. Is there a way I can produce a screen click or something similar to load the received file as soon as it gets transferred?

I hope I have explained myself enough!

Many Thanks,

Googie.

EDIT: I have also tried the following:

Code: Select all

put char -5 to -1 of pmsg into temp
if temp = "file§" then