package netsnmp

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=f300b9773b47da231c63fd272e171011fc19c79438dd0f18415f59c962f402d2

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

Module Netsnmp_async.ConnectionSource

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

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

close - close an existing connection

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