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 commentaires

Walter Roberson
Walter Roberson le 24 Juil 2012
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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Instrument Control Toolbox Supported Hardware dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by