C# 클래스 GameServerQuery.Extensions.SocketExtensions

파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 메소드들

메소드 설명
ReceiveWithTimeoutAfter ( this client, int milliSecondsDelay, CancellationToken cancel = default(CancellationToken) ) : Task
SendWithTimeoutAfter ( this client, byte list, int delay, IPEndPoint ep ) : Task
SendWithTimeoutAfter ( this client, byte list, int delay, IPEndPoint ep, CancellationTokenSource cancel ) : Task

메소드 상세

ReceiveWithTimeoutAfter() 공개 정적인 메소드

public static ReceiveWithTimeoutAfter ( this client, int milliSecondsDelay, CancellationToken cancel = default(CancellationToken) ) : Task
client this
milliSecondsDelay int
cancel System.Threading.CancellationToken
리턴 Task

SendWithTimeoutAfter() 공개 정적인 메소드

public static SendWithTimeoutAfter ( this client, byte list, int delay, IPEndPoint ep ) : Task
client this
list byte
delay int
ep System.Net.IPEndPoint
리턴 Task

SendWithTimeoutAfter() 공개 정적인 메소드

public static SendWithTimeoutAfter ( this client, byte list, int delay, IPEndPoint ep, CancellationTokenSource cancel ) : Task
client this
list byte
delay int
ep System.Net.IPEndPoint
cancel System.Threading.CancellationTokenSource
리턴 Task