[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] Re: SF.net SVN: supercollider:[9634] trunk/build/SCClassLibrary/Common/Control/ OSCresponder.sc



> correct previous commit: currently server replies are without preceding slash.

hm, maybe this can be discussed on the list, before committing and
reverting patches?

i didn't check the scsynth sources, but the specification
(Server-Command-Reference.html) uses preceding slashes. i followed this
convention when implementing supernova ...

personally, i'd prefer to see to have osc-compliant address patterns in
the lang/server communication with some syntactic sugar on the lang
side, which would make the first commit reasonable ...


Yes, this was my intention. I reverted it only to retain a functional build for now. I agree, the reply should have preceding slashes, and I think status is the only one which differs.

I think the correct solution would be to write a fast primitive that compares symbols with or without preceding slashes and use this in OSCresponder / OSCresponderNode (alternatively, a sclang method may be ok for now, but slows down networking). Then we can change the server without breaking anything.


here is a suggestion for a full implementation of slash/slashless receiving messages in sclang.


--





.

Attachment: oscresponder.diff
Description: Binary data