sending and receiving data from ethernet

hi all,
I am doing school project of reading and writing data using TCP or UDP. but, i am not able test this.
always i am getting an warning as, "the specified amount of data was not returned within the time"
what should i do to solve out this?
as i have developed,
u=udp('192.168.1.1',80);
fopen(u);
fwrite(u,1:5);
fclose(u);
chinny.

2 个评论

To confirm: even though you are not reading any data, it is still complaining about data not being returned within the time? Or did you also have something that tried to read a response?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Instrument Control Toolbox Supported Hardware 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by