Click or drag to resize
GDStreamSocketConnectAsync Method (HostName, String)
Establishes a connection to a remote host using provided HostName and port number.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public IAsyncAction ConnectAsync(
	HostName remoteHostName,
	string remoteServiceName
)

Parameters

remoteHostName
Type: Windows.NetworkingHostName
HostName of the remote endpoint.
remoteServiceName
Type: SystemString
Service name of the remote endpoint. String representing port number, eg.: 80 for http connections.

Return Value

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