SocketNS Namespace Reference
Enumeration Type Documentation
|
Internal TCP/UDP Connection State.
- Enumeration values:
-
CONNECTION_CLOSED |
|
CONNECTION_CONNECTING |
|
CONNECTION_CONNECTED |
|
CONNECTION_LISTENING |
|
CONNECTION_CLOSING |
|
CONNECTION_ERROR |
|
Definition at line 19 of file Socket.h. |
|
Chooses between blocking and non-blocking Wireless Input, Output. Blocking wireless output from the main process will affect the performance of the Aibo, and should only be used for debugging purposes.
- Enumeration values:
-
FLUSH_NONBLOCKING |
Writes and Reads return immediately, and are processed by another process, so Main can continue to run. Non-blocking reads require specifying a callback function to handle data received. |
FLUSH_BLOCKING |
Blocking writes are a good idea for debugging - a blocking write will be transmitted before execution continues to the next statement. Blocking reads should be avoided, since they'll cause a significant slow down in the main process. |
Definition at line 29 of file Socket.h. |
|
Specifies transport type. TCP is usually a good idea.
- Enumeration values:
-
SOCK_STREAM |
TCP: guaranteed delivery, higher overhead. |
SOCK_DGRAM |
UDP: no guarantees, low overhead. |
Definition at line 13 of file Socket.h. |
|