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

조회 수: 1 (최근 30일)
Ronan
Ronan 2015년 10월 22일
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?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interface-Based Instrument Communication에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by