[This is preliminary documentation and is subject to change.]
Make a network connection to a server with the given hostname and port.
| C# | Visual Basic | Visual C++ |
public bool Connect( string hostname, int port )
Public Function Connect ( _ hostname As String, _ port As Integer _ ) As Boolean
public: bool Connect( String^ hostname, int port )
- hostname (String)
- Server hostname.
- port (Int32)
- Connection port - Server listen port.
bool - true if connection is made.