Opens the connection.
Protocol, SNMPPort and HostName must be set, before calling the Connect method.
'This example shows how to start client connection.
'Set Protocol
GXSNMP1.Protocol = GX_NW_UDP
'Set client port
GXSNMP1.SNMPPort = 1234
'Set client name
GXSNMP1.HostName = "localhost"
'Make connection
GXSNMP1.Connect
'Send data
dim dataToSend
dataToSend = "Hello"
GXSNMP1.Send dataToSend, ""
'The response is received after this through the IGXSNMPEvents.OnReceived method.
Assembly: Gurux.SNMP (Module: Gurux.SNMP) Version: 5.0.0.1