Crosser Technologies - Server
Crosser Technologies - Server
Namespaces
Crosser.Server Namespaces
Crosser.Server.Modules Namespaces
Crosser.Server.Modules.Transport
BaseTransport Class
BaseTransport Methods
CreateStreams Method
CreateStreams(T) Method (Stream)
CreateStreams(T) Method (Socket)
BaseTransport
CreateStreams
T
Method (Socket)
Overwrite this when you create custom Transports for socket communication
Namespace:
Crosser.Server.Modules.Transport
Assembly:
Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
Copy
public
virtual
Task
CreateStreams
<T>(
Socket
socket
)
where
T :
class
,
IProtocol
Parameters
socket
Type:
System.Net.Sockets
Socket
The underlying
Socket
to setup the streams for
Type Parameters
T
The
IProtocol
to setup stream for
Return Value
Type:
Task
Task
Implements
IBaseTransport
CreateStreams
T
(Socket)
See Also
Reference
BaseTransport Class
CreateStreams Overload
Crosser.Server.Modules.Transport Namespace