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