Matrix1 Utility Plug-ins

RECV FROM SOCKET


Syntax

BytesRead = RECV FROM SOCKET( Handle, BufferAddress, BufferSize )

Description

Reads available data from a UDP socket into a specified memory location.

You pass the memory address to store the data in and the maximum safe size of data that can be copied to that location, and the function will return the actual number of bytes written to that memory.

After the data has been recieved, you can check where it came from by using the SOCKET REMOTE IP( ) and SOCKET REMOTE PORT( ) functions.

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