SocketCore.Connect

From Xojo Documentation

Revision as of 18:34, 24 May 2013 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

SocketCore.Connect()

Supported for all project types and targets.

Attempts to connect.

Notes

For TCPSockets, the address and port properties must be set. For UDPSockets, the port property must be set. The Connect method binds a socket to a port. After calling Connect, the Port property will report the actual port you are bound to.