hiroyuki / ofxArtnet

ultra simple artnet addon for openFrameworks
MIT License
68 stars 31 forks source link

No way of checking if ofxArtnetSender/Receiver is actually connected #25

Open bgstaal opened 5 years ago

bgstaal commented 5 years ago

As of now there is no way of checking if Sender/Receiver is actually connected to the udp endpoint. This makes it impossible to check if one is actually connected before sending data.

piotrus04 commented 5 years ago

Yes this is exactly the interest of Polling the receiver, but it seems that it is not implemented in this git

hiroyuki commented 5 years ago

I think you guys are talking about artpoll message. It’s not implemented in this version. I don’t think it’s not that complicated though.

adidahiya commented 5 years ago

+1, I'm also interested in a method to check if the connection has been opened successfully

piotrus04 commented 5 years ago

I found this from a friend of mine, https://github.com/mattbeghin/Art-Ext-Poll and https://github.com/OpenLightingProject/artnet-examples/blob/master/src/artnet-test-master.c

but i don't have sufficient knowledge in C to make a good (coded well) implementation alone.

Somebody would be interested to implement it ?

hiroyuki commented 5 years ago

if you can wait some time, I will try it later. maybe in next month.

in case you can not wait, i think you can write your own code using ofxNetwork. The basic infomation is here.

piotrus04 commented 5 years ago

Ok , i'll try. I can do it, it will just be quite dirty. If somebody can later clean the code... :) I'll try to implement it in october. thks