Skip to content

No method of closing the port? #45

@neo-hu

Description

@neo-hu

func (x *GoSNMP) Close() error {
return x.conn.Close()
}

snmp, err := gosnmp.NewGoSNMP(ip, community, gosnmp.Version2c, timeout)
if err != nil {
return err
}
defer snmp.Close()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions