Closed KonVas closed 5 years ago
That should work I think.
On 3 Apr 2019, at 15:27, Konstantinos Vasilakos notifications@github.com wrote:
Is there a method to send only to specific users when they are on the network, for example, how can I do something liek this: ~addrBook[\konstantinos].send('/el1', "Hello");
This doesn't seem to be working.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
sendMsg
On 3 Apr 2019, at 15:27, Konstantinos Vasilakos notifications@github.com wrote:
Is there a method to send only to specific users when they are on the network, for example, how can I do something liek this: ~addrBook[\konstantinos].send('/el1', "Hello");
This doesn't seem to be working.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I just tested this, and it works:
OSCdef(\test, { |msg|
msg.postcs;
}, "/test123");
~addrBook.send(~addrBook.me.name, "/test123", 4, 5, 6)
Yes that’s right. sendMsg is the method in Peer.
On 3 Apr 2019, at 15:43, Alberto de Campo notifications@github.com wrote:
I just tested this, and it works:
OSCdef(\test, { |msg| msg.postcs; }, "/test123");
~addrBook.send(~addrBook.me.name, "/test123", 4, 5, 6) — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Thanks
Is there a method to send only to specific users when they are on the network, for example, how can I do something liek this:
~addrBook[\konstantinos].send('/el1', "Hello");
This doesn't seem to be working.