| 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
)
public:
virtual IAsyncAction^ ConnectAsync(
[InAttribute] HostName^ remoteHostName,
[InAttribute] String^ remoteServiceName
) sealed
function ConnectAsync(remoteHostName, 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:
IAsyncActionNo object or value is returned when this method completes.
See Also