[AGENT++] A question on connection loss between master and subagent

Frank Fock fock at agentpp.com
Tue Oct 2 20:33:09 CEST 2007


Hi Michael,

The master agent will detect the closed TCP connection
(if the OS is able to report it) and remove those subagent
registrations. Otherwise, if the connection loss is not
reported by the OS then the master agent will send three
request to the subagen. On three consecutive timeouts,
the master will remove the registrations and the subagent
connection.

Best regards,
Frank

michael.carr at bt.com wrote:
> Hi All,
> 
> As the subject title says...
> 
> If a master agent has two subagents connected to it with rows in a
> shared table registered but one of the subagents dies (crashes out
> without deregistering/closing its connection with the master correctly),
> does the master agent still send on requests to that subagent?  Or does
> it (somehow) see that the connection has been lost and so doesn't send
> on the request?
> 
> Cheers,
> Mike
> 
> 
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list