GXDN: Gurux Developer Network
Connect Method
NamespacesGurux.GPRSGXGPRSConnect()()()
Opens the connection.
Remarks
Entry, Protocol, HostPort and HostName must be set, before calling the Connect method.
Examples
CopyC#
                'This example shows how to start client connection.
'Entry name must be found from dial-up connections.
GXGPRS1.Entry = "Default dial-up connection"
'Set Protocol
GXGPRS1.Protocol = GX_NW_UDP  
'Set client port
GXGPRS1.HostPort = 1234
'
GXGPRS1.HostName = "localhost"
'Make connection
GXGPRS1.Connect
'Send data
See Also

Assembly: Gurux.GPRS (Module: Gurux.GPRS) Version: 5.0.0.1