Bluehost.com Web Hosting $6.95

Community string field in netsnmp-session structure getting corrupted.

This is a discussion on Community string field in netsnmp-session structure getting corrupted. within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0871068347== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-26-2008
 
Posts: n/a
Default Community string field in netsnmp-session structure getting corrupted.

This is a multi-part message in MIME format.

--===============0871068347==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C88F3C.D0E139AC"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C88F3C.D0E139AC
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi all,
I am calling snmp_open(&session) in a C++ function. Before passing
session variable to snmp_open I have initialized it properly=20
with the value of peer name , version , community string. But if I print
it inside snmp_open() I am getting NULL for community string=20
field but for others ie version and peername I am getting the proper
value. Can you please think of something which I might be doing=20
incorrectly ? Thank you for your valuable time.
=20
=20
=20
=20
Regards,
Rajendra

------_=_NextPart_001_01C88F3C.D0E139AC
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial size=3D2>Hi=20
all,</FONT></SPAN></DIV>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial size=3D2>I am =
calling=20
snmp_open(&amp;session) in a C++ function. Before passing session =
variable to=20
snmp_open I have initialized it properly </FONT></SPAN></DIV>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial size=3D2>with =
the value of=20
peer name , version , community string. But if I print it inside =
snmp_open() I=20
am getting NULL for community string </FONT></SPAN></DIV>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial size=3D2>field =
but for others=20
ie version and peername I am getting the proper value. Can you please =
think of=20
something which I might be doing </FONT></SPAN></DIV>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial =
size=3D2>incorrectly ? Thank=20
you for your valuable time.</FONT></SPAN></DIV>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial=20
size=3D2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=3D593192212-26032008><FONT face=3DArial=20
size=3D2>Rajendra</FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C88F3C.D0E139AC--


--===============0871068347==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216...et/marketplace
--===============0871068347==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/...net-snmp-users

--===============0871068347==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0