---
name: "lo.h"
section: "3"
platform: "linux"
package: "liblo"
version: "1:0.36-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/lo.h"
---

# lo.h(3)

## NAME

lo.h

## SYNOPSIS

### Functions

**lo\_address** **lo\_address\_new** (const char \*host, const char \*port)\
 Declare an OSC destination, given IP address and port number. Same as **lo\_address\_new\_with\_proto()**, but using UDP.  **lo\_address** **lo\_address\_new\_with\_proto** (int proto, const char \*host, const char \*port)\
 Declare an OSC destination, given IP address and port number, specifying protocol.  **lo\_address** **lo\_address\_new\_from\_url** (const char \*url)\
 Create a **lo\_address** object from an OSC URL.  void **lo\_address\_free** (**lo\_address** t)\
 Free the memory used by the **lo\_address** object.  void **lo\_address\_set\_ttl** (**lo\_address** t, int ttl)\
 Set the Time-to-Live value for a given target address.  int **lo\_address\_get\_ttl** (**lo\_address** t)\
 Get the Time-to-Live value for a given target address.  int **lo\_send** (**lo\_address** targ, const char \*path, const char \*type,...)\
 Send a OSC formatted message to the address specified.  int **lo\_send\_from** (**lo\_address** targ, **lo\_server** from, **lo\_timetag** ts, const char \*path, const char \*type,...)\
 Send a OSC formatted message to the address specified, from the same socket as the specified server.  int **lo\_send\_timestamped** (**lo\_address** targ, **lo\_timetag** ts, const char \*path, const char \*type,...)\
 Send a OSC formatted message to the address specified, scheduled to be dispatch at some time in the future.  int **lo\_address\_errno** (**lo\_address** a)\
 Return the error number from the last failed **lo\_send()** or **lo\_address\_new()** call.  const char \* **lo\_address\_errstr** (**lo\_address** a)\
 Return the error string from the last failed **lo\_send()** or **lo\_address\_new()** call.  **lo\_blob** **lo\_blob\_new** (int32\_t size, const void \*data)\
 Create a new OSC blob type.  void **lo\_blob\_free** (**lo\_blob** b)\
 Free the memory taken by a blob.  uint32\_t **lo\_blob\_datasize** (**lo\_blob** b)\
 Return the amount of valid data in a **lo\_blob** object.  void \* **lo\_blob\_dataptr** (**lo\_blob** b)\
 Return a pointer to the start of the blob data to allow contents to be changed.  void **lo\_version** (char \*verstr, int verstr\_size, int \*major, int \*minor, char \*extra, int extra\_size, int \*lt\_major, int \*lt\_minor, int \*lt\_bug)\
 Get information on the version of liblo current in use.

## Detailed Description

The liblo main headerfile and high-level API functions.

Definition in file **lo.h**.

## Author

Generated automatically by Doxygen for liblo from the source code.
