package netsnmp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.