radarsat1 / liblo

liblo is an implementation of the Open Sound Control protocol for POSIX systems
GNU Lesser General Public License v2.1
192 stars 60 forks source link

Issues using liblo on WSL Ubuntu 18.04 LTS #124

Closed g-l-i-t-c-h-o-r-s-e closed 9 months ago

g-l-i-t-c-h-o-r-s-e commented 2 years ago

I get this error message when trying to use an application that has OSC support. I've compiled version 0.28, 0.29 and 0.30 from source, as well as tried the available repo package liblo-devel with no luck.

liblo server error -8 in path (null): Servname not supported for ai_socktype Could not start a server with port url, multicast group osc.udp://:9000

I can recreate this error with oscdump, by incorrectly using it like so: oscdump test osc.udp://:9000

radarsat1 commented 2 years ago

Looking at the code I don't see that ecasound is doing anything particularly weird, it just calls lo_server_thread_new with a port number (port_str). When you run it, what is the value of port_str?

As for your example, it's the wrong syntax for oscdump, so not surprising that it doesn't work. It only takes one argument, either the port number or a URL. Not sure what test is doing there.