Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 679 Bytes

examples.rst

File metadata and controls

22 lines (15 loc) · 679 Bytes

Example programs

Here are some example programs which use the :pystreamkinect2 API.

Simple ping client

The following program shows how to use the :pystreamkinect2.server.ServerBrowser class to discover servers on the network. For each server, a simple client is created which sends a ping to the server and logs when a pong is received.

../scripts/ping_client.py

Mock kinect server

The following program shows how to create a simple server which will serve data from a mock Kinect. See the :pystreamkinect2.mock module.

../scripts/mock_server.py