Hello I have a problem with my application..now I try to explain..
I have a class method that use "socket" from library socket..
after that it loops in listening with:Code:sock_im=socket(AF_INET,SOCK_STREAM) sock_im.connect((ip, port)) f_im=sock_im.makefile("rb")
Code:while 1: try: risp=f_im.readline() except: #error f_im.close()
In this method there isn't recursion and I use other external library:
pykeylock
msys
appswitch
appuifw2
Now my problem is that if I use gprs connection the application is blocked after 19/20 minutes of socket inactivity and I must kill it. If I use gprs connection it takes 30 minutes about. I try with different phone model and I look that on e51 with wifi after 2 hours there aren't problems.
Can you help me?.. I also monitored the ammount of free ram but it is always sufficient for the program
I use pys60 1.4.5.

Reply With Quote




