Crosser Technologies - Server
Crosser Technologies - Server
Namespaces
Crosser.Server Namespaces
Crosser.Server.Modules Namespaces
Crosser.Server.Modules.Transport
SocketTransport Class
SocketTransport Methods
WriteAsync Method
WriteAsync Method (Byte[], Boolean)
WriteAsync Method (Byte[], Int32, Int32, Boolean)
SocketTransport
WriteAsync Method (
Byte
, Int32, Int32, Boolean)
Write data to the underlying stream
Namespace:
Crosser.Server.Modules.Transport
Assembly:
Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
Copy
public
override
Task
WriteAsync
(
byte
[]
buffer
,
int
offset
,
int
length
,
bool
flush
=
false
)
Parameters
buffer
Type:
System
Byte
data to write
offset
Type:
System
Int32
Offset to start on in the payload
length
Type:
System
Int32
Number of bytes to write
flush
(Optional)
Type:
System
Boolean
If true the stream will be flushed
Return Value
Type:
Task
Implements
IBaseTransport
WriteAsync(
Byte
, Int32, Int32, Boolean)
See Also
Reference
SocketTransport Class
WriteAsync Overload
Crosser.Server.Modules.Transport Namespace