Module Session_monad.Session
Parameters
Signature
include module type of sig ... end
type t
= Netsnmp_raw__Session.t
type netsnmp_session
= Netsnmp_raw__Session.netsnmp_session
val snmp_sess_init : unit -> netsnmp_session
val snmp_sess_open : netsnmp_session:netsnmp_session -> version:Snmp_version.t -> retries:int -> timeout:int -> peername:string -> localname:string -> local_port:int -> community:string -> securityName:string -> securityAuthProto:Snmp_sec_auth_proto.t -> securityAuthPassword:string -> unit -> t
val snmp_sess_close : t -> unit
val snmp_sess_synch_response : t -> Netsnmp_raw.Pdu.t -> (Netsnmp_raw.Oid.t * Netsnmp_raw.ASN1_value.t) list
val snmp_sess_init : unit -> netsnmp_session IO.t
val snmp_sess_open : netsnmp_session:netsnmp_session -> version:Snmp_version.t -> retries:int -> timeout:int -> peername:string -> localname:string -> local_port:int -> community:string -> securityName:string -> securityAuthProto:Snmp_sec_auth_proto.t -> securityAuthPassword:string -> unit -> t IO.t
val snmp_sess_close : t -> unit IO.t
val snmp_sess_synch_response : t -> Netsnmp_raw_monad__.Import.Pdu.t -> (Netsnmp_raw_monad__.Import.Oid.t * Netsnmp_raw_monad__.Import.ASN1_value.t) list IO.t