File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
example_client_hello_world/src Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,11 @@ void ofApp::setup(){
2222 // BIG GOTCHA: on BSD systems, e.g. Mac OS X, these time params are system-wide
2323 // ...so ka_time just says "check if alive when you want" instead of "check if
2424 // alive after X seconds"
25+ // Note: some have had issues with only setting one of these; may be an
26+ // all-or-nothing type option!
2527 options.ka_time = 1 ;
26- // options.ka_probes = 1;
27- // options.ka_interval = 1;
28+ options.ka_probes = 1 ;
29+ options.ka_interval = 1 ;
2830
2931 // 4 - connect
3032 client.connect (options);
@@ -119,4 +121,4 @@ void ofApp::gotMessage(ofMessage msg){
119121// --------------------------------------------------------------
120122void ofApp::dragEvent (ofDragInfo dragInfo){
121123
122- }
124+ }
You can’t perform that action at this time.
0 commit comments