SnmpKit.SnmpLib.Manager.Request (snmpkit v2.0.1)

Socket handling and the request/response cycle for SnmpKit.SnmpLib.Manager: encoding the PDU into a message, sending with retries, and waiting for the response whose request id matches while ignoring stray datagrams.

Summary

Functions

close_socket(socket)

create_socket(opts, host \\ nil)

perform_snmp_request(socket, host, pdu, opts)

send_and_receive(socket, host, port, packet, request_id, timeout)