Re: how to explicitly specify a snnp port number other than 161?
"xiao ren" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Yes, I've tried, it's all right to write like that
------------------
xiao ren
2008-08-30
-------------------------------------------------------------
发件人:xiao ren
发送日期:2008-08-30 22:06:58
收件人:Net-snmp-users
抄送:
主题:how to explicitly specify a snnp port number other than 161?
Hi, All
If there is an agent, it's listening port number is not 161, say 1161. How to specify this in its manager's source code? May I use it as:
netsnmp_session session;
session.peername = strdup("192.168.1.2:1161");
.......
I check snmp_api.h and found that there is a "remote_port" member in snmp_session struct, but it was outdated.
--------------
xiao ren
2008-08-30
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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