Skip to content

2bbb/ofxInsensitiveOsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxInsensitiveOsc

this ofxOscReceiver doesn't terminate when receive broken packet.

based on ofxOsc@oF0.9.2.

this addon trashes broken packets with error messages.

i think, this error handling is not best but, as better than app terminate.

(i posted PR about this problem to openFrameworks community.)

Notice

PLEASE USE AT YOUR OWN RISK.

How to use

basicly, same as ofxOsc.

add 1 future. got event as:

void setup() {
    ofAddListener(receiver.gotOscError, this, &ofApp::oscError);
    if(!receiver.setup(8888)) {
    	ofLogError() << "setup failured";
    }
}

void oscError(std::string &what) {
    ofLogWarning() << what;
}

Update History

2016/03/17 ver 0.03 release

  • change return value of setup to bool. if setup got failure then return false.

2016/03/16 ver 0.02 release

  • simplify.
  • add future: notify gotError event with error message.
  • post PR on openFrameworks#4998 without notify event. (maybe if occurs diff of API, will not merge while oF0.9.x) and, i can't get no.5000.

2016/02/26 ver 0.01 release

  • first aid.

License

MIT License.

Author (oscpack)

Authors (ofxOsc, and forked oscpack)

Modify by

  • ISHII 2bit [bufferRenaiss co., ltd.]
  • ishii[at]buffer-renaiss.com

Special thanks

About

we don't crush when receive crazy osc packet.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published