SockStream.write

Writes bytes to the socket from the provided array and returns without any further waiting, at most the number of bytes written will be the length of the provided array, at minimum a single byte.

Be aware that is the kernsl's internal buffer is full and if the Socket is in blocking mode that this wil block until space is available to send at most some of the bytes in fromArray.

class SockStream
public override
ulong
write
(
byte[] fromArray
)

Parameters

fromArray byte[]

the buffer to write from

Return Value

Type: ulong

the number of bytes written

Meta