Click or drag to resize

SocketTransportWriteAsync 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#
public override Task WriteAsync(
	byte[] buffer,
	int offset,
	int length,
	bool flush = false
)

Parameters

buffer
Type: SystemByte
data to write
offset
Type: SystemInt32
Offset to start on in the payload
length
Type: SystemInt32
Number of bytes to write
flush (Optional)
Type: SystemBoolean
If true the stream will be flushed

Return Value

Type: Task

Implements

IBaseTransportWriteAsync(Byte, Int32, Int32, Boolean)
See Also