Class StreamSocket

Index

Properties

Methods

Properties

public control: StreamSocketControl

public information: StreamSocketInformation

public inputStream: IInputStream

public outputStream: IOutputStream

Methods

public close()

public connectAsync(endpointPair: EndpointPair): IAsyncAction

Parameters

Returns

IAsyncAction

public connectAsync(remoteHostName: HostName, remoteServiceName: string): IAsyncAction

Parameters

  • remoteHostName: HostName
  • remoteServiceName: string

Returns

IAsyncAction

public connectAsync(endpointPair: EndpointPair, protectionLevel: SocketProtectionLevel): IAsyncAction

Parameters

Returns

IAsyncAction

public connectAsync(remoteHostName: HostName, remoteServiceName: string, protectionLevel: SocketProtectionLevel): IAsyncAction

Parameters

Returns

IAsyncAction

public dispose()

public upgradeToSslAsync(protectionLevel: SocketProtectionLevel, validationHostName: HostName): IAsyncAction

Parameters

Returns

IAsyncAction