The `OSCClient` class in the Python `OSC` library is used for sending OSC (Open Sound Control) messages over the network. It provides the functionality to create and manage OSC clients, which can be used to communicate with OSC servers or other OSC-enabled devices.
The `OSCClient` class allows users to set the IP address and port number of the target OSC server, and provides methods to send various types of OSC messages, such as messages with integer, float, string, or blob data. It also supports sending OSC bundles, which are collections of multiple OSC messages.
Additionally, the `OSCClient` class provides options for configuring the transport protocol (UDP or TCP) and setting the client socket's timeout value. It also allows users to define custom error handlers and perform basic error checking during message sending.
Overall, the `OSCClient` class simplifies the process of sending OSC messages in Python, making it easier to interact with OSC servers and exchange data with other OSC-enabled devices.
Python OSC.OSCClient - 30 examples found. These are the top rated real world Python examples of OSC.OSCClient from package BlenderCave extracted from open source projects. You can rate examples to help us improve the quality of examples.