Check if Online?

protocol's icon

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

Varun Nair's icon

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.

protocol's icon

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?

Varun Nair's icon

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

protocol's icon

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

protocol's icon

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!

Varun Nair's icon

Thanks man! :) Exciting indeed.