Home Help Center

Ice-E reconnection latency

leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
here is the problem:
i use demo "hello" with little change to do the test
Ice as server, run in winxp sp2
Ice-E as the client, run in pocket pc whoes os is windows mobile 5

the client keep sending heartbeat request to the server, just send some context,
then we plugged off the network wire, the connection closed, this is normal,
but after plugged on the network wire, we have to wait like 20 seconds for the client(mobile) to reconnect to the server (either auto reconnection or manual reconnection), while server can be quickly connected to the client.

we don't have this problem when the client is Ice and run in winxp.

do you know why?

our Ice-E version is 1.2.0 and Ice version is 3.0.1

thanks!

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Its not clear from your description what the client is actually doing. You are pulling the plug from the server, and then pinging the server from the client? When you say it takes 20 seconds for the client to reconnect what are you actually doing?
  • leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
    sorry for the poor description...

    i think the connecting(just checkedCast) latency is not because of network rebuild,
    yesterday i have another test, it takes the client several seconds to connect (just checkedCast, one line) to the server the first time , is it normal?

    maybe it's the mobile device we use which makes the connecting very slow.
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Ice doesn't do anything special when it connects, i.e., it uses the regular TCP/IP connection mechanism. If the connection is slow, then it's most likely a network or configuration issue. You should enable tracing with Ice.Trace.Network=3 to find out more.
  • leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
    we've changed another device, it's quicker now~

    thanks~~
Sign In or Register to comment.