Chris@4: liblo is a lightweight library that provides an easy to use implementation of Chris@4: the OSC protocol. For more information about the OSC protocol, please see: Chris@4: Chris@4: - http://www.cnmat.berkeley.edu/OpenSoundControl/ Chris@4: - http://www.opensoundcontrol.org/ Chris@4: Chris@4: Chris@4: The official liblo homepage is here: Chris@4: Chris@4: - http://liblo.sourceforge.net/ Chris@4: Chris@4: liblo is portable to most UNIX systems (including OS X) and Windows. It is Chris@4: released under the GNU Lesser General Public Licence (LGPL). Chris@4: Chris@4: Chris@4: --- Chris@4: Chris@4: Chris@4: To build and install liblo, read INSTALL in the main liblo directory. Chris@4: liblo is configured as a dynamically-linked library. To use liblo Chris@4: in a new application, you should install liblo with "make install" Chris@4: so that the liblo library can be located by your application. Chris@4: Chris@4: To build with MS Visual Studio on Windows, first run the premake4.exe Chris@4: application in the build directory with an argument describing which Chris@4: IDE you are using. This will generate project and solution files. Chris@4: Chris@4: See examples for example source code for a simple client and two Chris@4: servers: Chris@4: Chris@4: - example_server.c uses lo_server_thread_start() to create Chris@4: a liblo server in an separate thread. Chris@4: Chris@4: - nonblocking_server_example.c uses select() to wait for either Chris@4: console input or OSC messages, all in a single thread. Chris@4: Chris@4: - example_client.c uses liblo to send OSC messages to a server. Chris@4: Chris@4: These examples will work without installing liblo. This is accomplished by a shell script. For example, examples/client_example is a shell Chris@4: script that runs the "real" program examples/.libs/example_client. Chris@4: Because of this indirection, you cannot run example_client with Chris@4: a debugger. Chris@4: Chris@4: To debug applications using liblo, one option is to include all the liblo source code in the application rather than linking with the liblo library. For more information about this, please see the libtool's manual: Chris@4: Chris@4: http://www.gnu.org/software/libtool/manual.html#Debugging-executables Chris@4: Chris@4: Chris@4: --- Chris@4: Chris@4: Chris@4: IPv6 NOTICE: Chris@4: liblo was written to support both IPv4 and IPv6, however it has caused various problems along the way because most of the currently available OSC applications Chris@4: like Pd and SuperCollider doesn't listen on ipv6 sockets. IPv6 is currently disabled by default, but you can enable it using ./configure --enable-ipv6