You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/client.rst
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,14 @@
1
1
Client
2
2
========
3
3
4
-
The client allows you to connect and send messages to an OSC server. The client class expects an :class:`OSCMessage` object, which is then sent out via UDP. Additionally, a simple client class exists that constructs the :class:`OSCMessage` object for you.
4
+
The client allows you to connect and exchange messages with an OSC server.
5
+
Client classes are available for UDP and TCP protocols.
6
+
The base client class ``send`` method expects an :class:`OSCMessage` object, which is then sent out over TCP or UDP.
7
+
Additionally, a simple client class exists that constructs the :class:`OSCMessage` object for you.
5
8
6
-
Example
9
+
See the examples folder for more use cases.
10
+
11
+
Examples
7
12
---------
8
13
9
14
.. code-block:: python
@@ -19,10 +24,27 @@ Example
19
24
client.send_message("/some/address", [1, 2., "hello"]) # Send message with int, float and string
Copy file name to clipboardExpand all lines: docs/server.rst
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ Server
2
2
=========
3
3
4
4
The server receives OSC Messages from connected clients and invoked the appropriate callback functions with the dispatcher. There are several server types available.
5
-
5
+
Server implementations are available for both UDP and TCP protocols.
0 commit comments