hi,
I sent data from my pc to another pc, only the values sent shows the data. while i am reading in another pc, its not getting read. where sholud i do the mistake?
t=tcpip('192.168.1.4',80) // another pc namebytesToRead=50;t.BytesAvailableFcnMode='byte't.BytesAvailableFcnCount=bytesToreadfopen(t) pause(3)fwrite(t,1:255)pause(3)fclose(t)
now, in inspector element, i can see changes in valuesent=255 whereas, the same program only i did in another pc for reading
t=tcpip('192.168.1.4',80) // another pc namebytesToRead=50;t.BytesAvailableFcnMode='byte't.BytesAvailableFcnCount=bytesToreadfopen(t) pause(3)fread(t,255)pause(3)fclose(t)
instead of writing. but, there i am not able to see changes in inspector element.how should i do this?
Best Answer