Forums > MaxMSP

Check if Online?

June 12, 2012 | 12:50 pm

Hi guys,

Just wondering if there is a way to check if you are connected to the internet inside of Max? Maybe using script using [Shell]?
I am creating a program the requires some functionality online, if offline it will mess up some of my databases. Thus if I could check to find out if the User is online or offline I would be able to disable certain functions while off-line.

Otherwise I will have to do a complicated work around…

Thanks in advance for the help guys!
Protocol


June 14, 2012 | 12:15 am

I use jit.dlul to download a page/image [small in size] as a matrix to verify the internet connection. Should suit your purpose if its a stable link.


June 15, 2012 | 8:41 pm

Varun, thanks for the response. I am fairly noobie with jitter objects. I couldnt find this one in the Max6 directory, is jit.dlul an external you use?


June 15, 2012 | 11:42 pm

Whoops! I meant jit.uldl. It is a part of Max/Jitter.


June 16, 2012 | 12:32 pm

Varun, Superb idea, found the object. So far works great! Thanks!


June 22, 2012 | 1:00 pm

Varun,

Congrats on making it into an article on CDM :) I checked out your project when you were answering my question here earlier, saw your project and thought it was rather nifty. It was a pleasant surprise to see it up on CDM this morning. That’s exciting!


June 22, 2012 | 1:03 pm

Thanks man! :) Exciting indeed.


Viewing 7 posts - 1 through 7 (of 7 total)