Click or drag to resize
TcpNetworkClientConnect Method (EndPoint, Boolean)
Initiates TCP connect to remote endpoint.

Namespace: StreamCoders.Network
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public bool Connect(
	EndPoint remoteEp,
	bool synchronous
)

Parameters

remoteEp
Type: System.NetEndPoint
Remote endpoint.
synchronous
Type: SystemBoolean
if true the method waits for the connection to be established. Otherwise the function returns immediately and OnConnect event is called.

Return Value

Type: Boolean
Returns true if connection is established, otherwise false.
See Also