Hi;
Can you kindly help me in the steps to use the 'send' command for sending a UINT8 array in sockets for Octave. I'm using the following code, but I get the following error:
error: connect: invalid DATA to send. Please format it prior to sending
error: called from
gen_DACwaveform_v4 at line 8 column 1
My program is shown below:
clc
close all
test = [1:20];
client = socket(AF_INET, SOCK_STREAM, 0);
server_info = struct("addr", "192.168.1.10", "port", 7);
rc = connect(client, server_info);
send(rc, test);
Regards Nihar Ranjan Saha EMail: address@hidden