Skip to content

Define reply address schema for response and listen updates #2

@eirikblekesaune

Description

@eirikblekesaune

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions