Skip to content

CLOUDS-Interactive-Documentary/ofxReachability

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxReachability

Introduction

A cross-platform Internet reachability addon. Register listeners on ofxReachability::connectedEvent and ofxReachability::disconnectedEvent and you're good to go.

The Apple implementation uses Reachability by Tony Million. Works on Mac and iOS.

The Windows implementation is based on this article by Raymond Chen.

Other platforms use the ping implementation, where I just ping google.com at regular intervals. Specific platform implementations are welcome!

Installation

Just drop the ofxReachability folder into openFrameworks/addons/.

When adding the files to your project, make sure to include the "apple" subfolder on Mac / iOS, and the "win32" subfolder on Windows.

Compatibility

Tested with openFrameworks 0.8.4 on Mac OS X 10.10 and Windows 8.1.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 54.4%
  • C++ 41.1%
  • Objective-C++ 4.5%