Sponsored Content
The Lounge What is on Your Mind? Please Welcome Peasant to the Moderation Team Post 303037939 by hicksd8 on Sunday 18th of August 2019 01:00:27 PM
Old 08-18-2019
Welcome to the mod team Peasant.

Thank you for your past contribution to this community and we look forward to your future input.
This User Gave Thanks to hicksd8 For This Post:
 

3 More Discussions You Might Find Interesting

1. What is on Your Mind?

Please Welcome Ravinder Singh to the Moderation Team

On this special Happy News Year day, 1 January 2019, I am pleased to promote Ravinder Singh to UNIX.COM Moderator, for at least the following reasons: Ravinder Loves UNIX.COM Ravinder has 1,372 Thanks, which puts him in the Top Ten in that important single category. Ravinder is one of... (8 Replies)
Discussion started by: Neo
8 Replies

2. What is on Your Mind?

Please Welcome Yoda (Bipin Ajith) to the Moderation Team

Dear All, Following our policy for forum moderators to have active LinkedIn profiles (and also to increase mod team diversity), please join me in congratulating the newest addition to our mod team, Yoda: Bipin Ajith (Yoda) Yoda has been hanging around unix.com for over eight years now and... (7 Replies)
Discussion started by: Neo
7 Replies

3. What is on Your Mind?

Please Welcome Akshay Hegde to the Moderation Team

Dear All, Following our policy for forum moderators to have active LinkedIn profiles (and also to increase mod team diversity), please join me in congratulating the newest addition to our mod team, Akshay Hegde: Akshay Hegde on LinkedIn Akshay has been very helpful to the site over the... (3 Replies)
Discussion started by: Neo
3 Replies
snmpsession(3)						     Library Functions Manual						    snmpsession(3)

NAME
snmpsession - snmpkit functions dealing with a particular snmpsession. SYNOPSIS
#include <snmpkit.h> SNMPSESSION *sk_new_session(char *host, void *(start_routine)(SNMPSESSION*), const char *community); DESCRIPTION
A snmpsession is an opaque data structure which specifies a The new_snmpsession() creates a new session. The SNMPSOCK should have previously created by the application using, new_snmpsock(). The host should will be looked up using gethostbyname() and the community string is something like a password in SNMP lingo but it doesn't have a username associated with it and it is transmitted in clear text within the packets. In most cases, there are a couple of community strings. One is only allowed to read and the other is allowed to both read and write. The default read-only community name is "public". If set the community name to NULL, the community name will default to public. The new_snmpsession_quick() function is very similar to the new_snmpsession() function except the community name always defaults to "pub- lic". The delete_snmpsock() function is the opposite of the new_snmpsession() function. It frees all memory and resources currently being used by the SNMPSESSION structure. RETURN VALUE
The new_snmpsock() and the new_snmpsock_quick() both return a pointer to the newly created snmpsock or NULL if there was an error. AUTHOR
Ben Woodard <ben@users.sourceforge.net> BUGS
The library can possibly throw different kinds of C++ exceptions that won't be caught by the glue code and therefore it can cause your pro- gram to crash inexplicably. SEE ALSO
libsnmpkit(3), snmpsock(3), snmpstructfiller(3), snmptable(3), gethostbyname(3) GNU snmpkit 0.4 November 2000 snmpsession(3)
All times are GMT -4. The time now is 11:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy