package netsnmp

  1. Overview
  2. Docs
An interface to the Net-SNMP client library

Install

Dune Dependency

Authors

Maintainers

Sources

netsnmp-v0.12.0.tar.gz
sha256=94a73fdf5d051655b9c2357f73c436d6b9e9104254ce48b0c0e95267c9b3f322
md5=02ad13086ae11823525e20a2bc48409b

doc/netsnmp.async/Netsnmp_async/Connection/index.html

Module Netsnmp_async.Connection

type t

connect creates a connection to a peer based on the information passed in Connection_info.t. This and close should be called as a pair.

val close : t -> unit Async.Deferred.t

close - close an existing connection

val with_connection : Connection_info.t -> f:(t -> 'a) -> 'a Async.Deferred.t

with_connection - connect to the remote agent using the supplied credentials and then call the function f with the session. Closes the session in all cases before returning

OCaml

Innovation. Community. Security.