Re: Abort Application on failed connection to master agent

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Tue, 23 Mar 2010 18:22:50 +0530, Ishika Mahajan <[email protected]> said:

IM> I want to exit from my application if fail to connect to master agent.
IM> How i know if sub-agent is unable to connect to master agent?

I believe subagent_init will return -1 if it fails to open a connection.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.