Matrix1 Utility Plug-ins

SEND SOCKET MEMBLOCK


Syntax

Status = SEND SOCKET MEMBLOCK( Handle, MemblockId )

Description

Transmits a memblock to the connected host.

TCP
The format of the transmitted data is an integer (for the length in bytes of the memblock), followed by the data from the memblock itself. The amount of data that can be transmitted is unlimited.

UDP
The data is sent as a single datagram with no extra formatting. The size of the memblock is limited to 65500 characters, the size of the send buffer, or the size of the recieving programs recieve buffer, whichever is the smaller.

Returns 1 for successful transmission, or 0 for a failure. Attempting to transmit a memblock that does not exist will result in a runtime error.

Go back to ...

Matrix1Util_28 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011