-
Notifications
You must be signed in to change notification settings - Fork 28
Writing XIA Applications
dtnaylor edited this page Jan 15, 2013
·
32 revisions
TODO: New intro.
The Xsockets API was designed to be as similar as possible to the standard socket library to make porting applications easier. It provides 4 socket types:
- XSOCK_STREAM: similar to TCP style sockets
- XSOCK_DGRAM: similar to UDP style sockets
- XSOCK_RAW: similar to the raw sockets used in ping and traceroute
- XSOCK_CHUNK: a new socket type used for content such as video
- Naming and Addressing: XIA does not use IP addresses, it instead uses [Directed] to specify destinations. TODO we need a link to a description of DAGs, HIDs, ADs, etc...
- The Xsockets API does not implement non-blocking sockets in the current release. However, because the xsocket identifier is a standard socket, the normal
pollandselectfunctions can be used to provide similar behavior.
- C/C++ API Documentation
- Python API Documentation
TODO: Describe xsockconf.ini
TODO: Finish