Hi!

Can you please let me know a way to do reconnection? May be subagent
connection tried to up in some time? Should I run init_snmp in other thread
for this purpose?

2009/1/27 Alexander Bubnov <alexander.bub...@gmail.com>

> Hi!
>
> My application sends some events through SNMP.
> In case connection is fail the application can exit or try to reconnect.
>
>
> 2009/1/27 Dave Shield <d.t.shi...@liverpool.ac.uk>
>
>> 2009/1/26 Alexander Bubnov <alexander.bub...@gmail.com>:
>> > inside call of init_snmp, subagent tries to connect to master agent.
>> Here
>> > connection can be fail.
>> >
>> > What right way to know about that fail?
>>
>> This information is not passed back to the controlling agent code.
>> It's not possible for the subagent application to tell whether the
>> subagent connection worked or not.
>>
>> What would you want to do if this connection fails?
>>
>> Dave
>>
>
>
>
> --
> /BR, Alexander
>
>
>
> --
> /BR, Alexander
>



-- 
/BR, Alexander
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to