>>>>> On Sat, 30 Aug 2008 22:05:59 +0800, "xiao ren" <[EMAIL PROTECTED]> said:

xr> May I use it as:

xr> netsnmp_session session;
xr> session.peername = strdup("192.168.1.2:1161");

Yep!

xr> I check snmp_api.h and found that there is a "remote_port" member in
xr> snmp_session struct, but it was outdated.

That's correct...  Currently everything operates on a single transport
string and the remote_port attribute was around before we started
supported a number of non-port based transports.
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
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

Reply via email to