socket.connect or ftp.connect and this kind of functions are racing some function as completed or succeeded . in activity moduler ,there is no problems. but in the service modules , they stop services or not give any result. is there any idea ?
in service module i've declared a socket ' Socket1' .socket1.connect function not give successed.
The Socket1_Connected sub is also located in my service module. this run in activity module witout any problem. but in service module successed=false all time.
The event sub should be in the same service module that you make the initialisation call in. You can then use callsubdelayed to call other sub's in your main activity.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.