-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define reply address schema for response and listen updates #2
Comments
This is the kind of things Bonjour/zeroconf manages in realtime - but I don't know how things should be done Bonjour-wise… like only the host name ? (e.g. Eirik.local) or ???? BTW, zeroconf is not yet implemented in 0.6, even if we have most tools available from the zeroconf repo that Tim forked from Rémy Muller's sourceforge svn onto github : https://github.com/tap/osctools Le 12 juin 2013 à 17:17, Eirik Arthur Blekesaune [email protected] a écrit :
|
Perhaps it would be worthwhile, in the wiki or as a part of our paper, to diagram what activities/services belong in which layer. Since the OSNIP protocol is envisioned as a layer on top of OSC and Zeroconf, we can make it clear which things are our responsibility and which things are not. |
With SC I get the ip address when I receive the message. I would need to have the port I'm supposed to send the result for the query to. |
does it have to have a port number at all if we're using zeroconf ? Pascal Baltazar Le 13 juin 2013 à 15:24, Eirik Arthur Blekesaune [email protected] a écrit :
|
I mean, of course, the application has a port number, but does it have to be different from the one for the main OSC messaging ? Pascal Baltazar Le 13 juin 2013 à 15:44, Pascal Baltazar [email protected] a écrit :
|
That would be helpful for me at least.. I'm curious though. What are the pros and cons again for having zeroconf/Bonjour as a base for OSNIP? |
I'd say that zeroconf is quite popular, plus it already manages all we need, plus RémyMuller has already done a lot of work to merge this with OSC, so why not using it… Pascal Baltazar Le 14 juin 2013 à 11:32, Eirik Arthur Blekesaune [email protected] a écrit :
|
When sending a query to another computer it is not clear to which ip or port the response should be sent.
I suggest defining a schema for this.
I'm currently using this schema (JSON format):
{address: {ip:127.0.0.1, port:57120}}
For querying the monitor output indexes a message might look like this now:
/source/eirikMicrophone:monitorIndex> {address: {ip: 127.0.0.1, port:57120}}
Likewise with listen messages:
//To enable listening
/source/eirikMicrophone:monitorIndex! 1 {address: {ip: 127.0.0.1, port:57120}}
//To disable listening
/source/eirikMicrophone:monitorIndex! 0 {address: {ip: 127.0.0.1, port:57120}}
+Eirik
The text was updated successfully, but these errors were encountered: