C# Class withSIX.Core.Extensions.SocketExtensions

Show file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
ReceiveWithTimeoutAfter ( this client, int milliSecondsDelay ) : Task
ReceiveWithTimeoutAfter ( this client, int milliSecondsDelay, CancellationTokenSource cancel ) : Task

Method Details

ReceiveWithTimeoutAfter() public static method

public static ReceiveWithTimeoutAfter ( this client, int milliSecondsDelay ) : Task
client this
milliSecondsDelay int
return Task

ReceiveWithTimeoutAfter() public static method

public static ReceiveWithTimeoutAfter ( this client, int milliSecondsDelay, CancellationTokenSource cancel ) : Task
client this
milliSecondsDelay int
cancel System.Threading.CancellationTokenSource
return Task