Click or drag to resize

IBaseTransportCreateStreamsT Method (Socket)

Setup the underlying streams for the transport

Namespace:  Crosser.Common.Server.Transport
Assembly:  Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax
C#
Task CreateStreams<T>(
	Socket socket
)
where T : class, IProtocol

Parameters

socket
Type: System.Net.SocketsSocket
Socket to setup transport for

Type Parameters

T
The IProtocol using the transport

Return Value

Type: Task
Task
See Also