Module Netsnmp_async.Connection
val connect : Connection_info.t -> t IO.tconnectcreates a connection to a peer based on the information passed inConnection_info.t. This andcloseshould be called as a pair.
val with_connection : Connection_info.t -> f:(t -> 'a) -> 'a IO.twith_connection- connect to the remote agent using the supplied credentials and then call the functionfwith the session. Closes the session in all cases before returning