Re:Handling Fds in netsnmp subagent code

"NetSnmp User" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Frnds,

Any input on this???



On Tue, 22 Jan 2008 22:01:25 +0800 "NetSnmp User" wrote

Hi Frnds,

I'm using netsnmp in Agent-Subagent mode. I'm binding the socket for
tcp 705 with the following 2 lines of code:

netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_X_SOCKET, "tcp:localhost:705");
SOCK_STARTUP;

In this case I can't handle Fds for the socket which we create. Is there any netsnmp API which I can use for handling the Fds and I can close once my subagent is down with the standard call fcntl().

Thanks in advance.

=


-- 
_______________________________________________
Search for products and services at: 
http://search.mail.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.