Change the timer of fopen for a tcp/ip object?

1 visualizzazione (ultimi 30 giorni)
Ronan
Ronan il 22 Ott 2015
I m trying to connect to a dynamic ip address so I m guessing a range of ip addresses by iterating through a range. So basically every time I try and open a connection I catch it failing and iterate on to try the next ip address. This works but its very slow. So for every ip address i try to open a tcp object it takes about 2-5 seconds and sometimes longer. Is there a way to change how fast fopen fails? I thought about changing the properties of the tcp object by changing things like TimerPeriod and TimerFcn which didn't do anything. After looking at the terminator it seems i can only change it to linefeed and carriage return (LF and CR). But this didn't do anything for the time fopen times out. Are there any other ways?

Risposte (0)

Categorie

Scopri di più su Interface-Based Instrument Communication in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by