CSCI321 - Project Diary

Thursday, September 7

Jargo

went for a drive today, and noticed that in some instances - if the server doesn't reply - then Jargo sits there waiting for one.

i started to investage of a way to a timeout for the connection, and unfortunately j2me blocks as soon as any IO is done, thus am unable to restart the connection.

the only way around it is to go down to network level and play with it there.

as a work around - i have put a Timer in, and run the sending of points within. When timeout occurs, it 'requests' from the phone to end the connection - and that's the best j2me can do with HTTPCONNECT.

will test it out tomorrow on my second drive to mittagong

0 Comments:

Post a Comment

<< Home