socket.read.array

Syntax

v = socket.read.array(a,s)

Read FISH variables into an array through a socket. This call should be paired with a socket.write.array call. The number of FISH variables are automatically handled.

Note

See the description in socket.write for how arrays are encoded in order to communicate with non FISH sockets.

Returns:

v - void return

Arguments:

a - array pointer

s - socket pointer or integer specifying the channel number with value from 0 to 5