AbletonOSC icon indicating copy to clipboard operation
AbletonOSC copied to clipboard

Multiple client connections

Open zbynekdrlik opened this issue 1 year ago • 3 comments

I am implementing touchosc controller for Ableton. First one work excellently, now I am looking way how to connect multiple clients but always when second send some osc message, first one stop receiving registered signals. I see that this is somehow now feature, could it be changed to have multiple connections?

zbynekdrlik avatar Mar 31 '23 17:03 zbynekdrlik

standard get should work, however the listeners send to the latest connection (https://github.com/ideoforms/AbletonOSC/blob/master/abletonosc/osc_server.py#L102)

A fix should store the remote address when registering a listener and use this when sending OSC messages back (https://github.com/ideoforms/AbletonOSC/blob/master/abletonosc/handler.py#LL51)

markmarijnissen avatar Apr 03 '23 06:04 markmarijnissen

Great idea. @markmarijnissen are you able implement some patch?

zbynekdrlik avatar Apr 03 '23 07:04 zbynekdrlik

Could be useful to avoid building middlewares to aggregate and dispatch requests from multiples clients. This is what I'm doing at the moment, and it's a lot of duplicate work.

paulmacmillan avatar May 10 '24 22:05 paulmacmillan