Click or drag to resize
GDStreamSocketConnectAsync Method (EndpointPair, SocketProtectionLevel)
Establishes a connection to a remote host using provided EndpointPair and SocketProtectionLevel.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public IAsyncAction ConnectAsync(
	EndpointPair endpointPair,
	SocketProtectionLevel protectionLevel
)

Parameters

endpointPair
Type: Windows.NetworkingEndpointPair
Host to connect to represented by EndpointPair.
protectionLevel
Type: Windows.Networking.SocketsSocketProtectionLevel
SocketProtectionLevel specifies the level of encryption to use.

Return Value

Type: IAsyncAction
No object or value is returned when this method completes.
See Also