MpxSocket TTransport  GetSendChunk Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Reserves a chunk of memory of the suggested size for network send operation. The buffer must be released by a call to ReleaseSendBuffer(). Keep in mind that this method is NOT RE-ENTRANT by this or any other thread until corresponding ReleaseSendChunk() is called. MpxSocket is not thread safe for sends in general.

Namespace: NFX.Glue.Native
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public virtual MemChunk GetSendChunk(
	int desiredSize = 0
)

Return Value

Type: MemChunk
See Also