Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 1 made on Friday July 2, 2010 at 06:41
multimedia
Long Time Member
Joined:
Posts:
December 2006
111
I'm using an asynchronious socket in the activity script, that is only opened once when entering in the activity. Another synchronious socket is used in the page script.
Everything is working fine unless the asynchronious socket cannot connect. Even though the timeout is set to 3000ms, this "try to connect" is blocking during 45 seconds the connection of the synchronious socket in the page script.

I also made sure that the synchronious socket connect is called only when the timeout of the asynchronious connect was lapsed. (Even though Barry has mentioned in one post, that he even leaves an asynchronious socket open when he connects with another socket)

The IOError Callback of the asynchronious try to connect is executed only after these 45 seconds. No way to prevent the 45 seconds blocking for the synchronious connection in the page script.

I'm using the newest firmware.

Any suggestions appreciated. Thanks very much!

Last edited by multimedia on July 2, 2010 06:55.


Hosting Services by ipHouse