Opens the connection.
Entry name, Protocol, DialUpPort and HostName must be set, before calling the Connect method.
The Dial-up entry is the name of the Dial-Up connection, and it must
be found in "Network and DialUp Connections".
'This example shows how to start client connection.
'Set dialUp entry to used.
GXDialUp1.Entry = "Default DialUp Entry"
'Set Protocol
GXDialUp1.Protocol = GX_NW_UDP
'Set client port
GXDialUp1.DialUpPort = 1234
'Set client name
GXDialUp1.HostName = "localhost"
'Make connection
GXDialUp1.Connect
'Send data
dim dataToSend
dataToSend = "Hello"
GXDialUp1.Send dataToSend, ""
'The response is received after this through the IGXDialUpEvents.OnReceived method.
Assembly: Gurux.DialUp (Module: Gurux.DialUp) Version: 5.0.0.1