EmbeddedTcpClient..::..Connect Method
Starts the transport and attempts to connect to the given host address.
Namespace:
com.onlineobject.objectnet.server.Transports.TcpAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public bool Connect( string hostAddress, out EmbeddedConnection connection, out string connectError )
Parameters
- hostAddress
- Type: String
The host address to connect to.
- connection
- Type: com.onlineobject.objectnet.server..::..EmbeddedConnection%
The pending connection. nullNothingnullptra null reference (Nothing in Visual Basic) if an issue occurred.
- connectError
- Type: String%
The error message associated with the issue that occurred, if any.