Interface IDatagramSocket

Hierarchy

Index

Properties

Methods

Properties

public control: DatagramSocketControl

public information: DatagramSocketInformation

public onmessagereceived: any

public outputStream: IOutputStream

Methods

public bindEndpointAsync(localHostName: HostName, localServiceName: string): IAsyncAction

Parameters

  • localHostName: HostName
  • localServiceName: string

Returns

IAsyncAction

public bindServiceNameAsync(localServiceName: string): IAsyncAction

Parameters

  • localServiceName: string

Returns

IAsyncAction

public close()

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

Parameters

  • remoteHostName: HostName
  • remoteServiceName: string

Returns

IAsyncAction

public connectAsync(endpointPair: EndpointPair): IAsyncAction

Parameters

Returns

IAsyncAction

public getOutputStreamAsync(remoteHostName: HostName, remoteServiceName: string): IAsyncOperation

Parameters

  • remoteHostName: HostName
  • remoteServiceName: string

Returns

IAsyncOperation

public getOutputStreamAsync(endpointPair: EndpointPair): IAsyncOperation

Parameters

Returns

IAsyncOperation

public joinMulticastGroup(host: HostName)

Parameters