||unity-dev|| unity socket timeout

Discussion list for Unity developers. unity-dev at moock.org
Wed Jan 17 16:04:44 CST 2007


Unity itself won't drop connections but sometimes network interruptions 
-- from spotty cable/dsl connections -- will lead to a socket dropping 
without throwing a detectable event.  I've found it helpful to have 
clients send heartbeat signals to a lobby room during quiet periods to 
verify their connectivity and reconnect automatically if they don't get 
the heartbeat back.  In theory, this shouldn't be necessary but  it's a 
good sanity check. If you need more detail, let me know.

-Ed.

Discussion list for Unity developers. wrote:
> Hi Colin,
>    
>   How long is the time out for a Unity Server to disconnect an inactive client?
>   In our game, the player logs on a game, and in between the game has to build some concept maps using a different application for about 4 minutes and then he is expected to come back.
>   Can it happen that if the Flash client is inactive for 4 minutes or so, it will get disconnected.
>   I have tested some and it did not disconnect; but I expect about 60 clients to connect to server and take a break for 4 minutes doing some other thing and then coming back to game.
>    
>   I am wondering if there are so many socket connections (60 of them), and they all are inactive for about 4 to 5 minutes, can some of them lose connection?
>    
>   Thanks for your advice.
>   Regards,
>   Girija
>    
>
>  
> ---------------------------------
> The fish are biting.
>  Get more visitors on your site using Yahoo! Search Marketing.
> --
> you're a unity-dev subscriber. to unsubscribe, visit www.moock.org/mailman/listinfo/unity-dev/
>
> superb hosting for this list and moock.org is generously provided by Rackspace. See: http://www.rackspace.com/?supbid=moock
>   


-- 
Ed Gulczynski
Web Developer
ed at wssource.com
212-479-1443



More information about the unity-dev mailing list