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. |