| GDStreamSocketConnectAsync Method (HostName, String, SocketProtectionLevel) |
Namespace:
GD
Assembly:
GD (in GD.dll) Version: 255.255.255.255
Syntax public IAsyncAction ConnectAsync(
HostName remoteHostName,
string remoteServiceName,
SocketProtectionLevel protectionLevel
)
public:
virtual IAsyncAction^ ConnectAsync(
[InAttribute] HostName^ remoteHostName,
[InAttribute] String^ remoteServiceName,
[InAttribute] SocketProtectionLevel^ protectionLevel
) sealed
function ConnectAsync(remoteHostName, remoteServiceName, protectionLevel);
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. - protectionLevel
- Type: Windows.Networking.SocketsSocketProtectionLevel
SocketProtectionLevel specifies the level of encryption to use.
Return Value
Type:
IAsyncActionNo object or value is returned when this method completes.
See Also