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 comentarios

Walter Roberson
Walter Roberson el 24 de Jul. de 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?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Preguntada:

el 24 de Jul. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by