tango Active Member Licensed User Longtime User Apr 14, 2015 #1 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 ?
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 ?
tango Active Member Licensed User Longtime User Apr 14, 2015 #2 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. thank you in advance Upvote 0
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. thank you in advance
RandomCoder Well-Known Member Licensed User Longtime User Apr 14, 2015 #3 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. Upvote 0
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.