Homepage Demos Overview Downloads Tutorials Reference
Credits

SocketNS Namespace Reference


Detailed Description

holds socket enumerations and constants


Enumerations

enum  TransportType_t { SOCK_STREAM = 0, SOCK_DGRAM }
 Specifies transport type. TCP is usually a good idea. More...
enum  ConnectionState {
  CONNECTION_CLOSED, CONNECTION_CONNECTING, CONNECTION_CONNECTED, CONNECTION_LISTENING,
  CONNECTION_CLOSING, CONNECTION_ERROR
}
 Internal TCP/UDP Connection State. More...
enum  FlushType_t { FLUSH_NONBLOCKING = 0, FLUSH_BLOCKING }
 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. More...


Enumeration Type Documentation

enum ConnectionState
 

Internal TCP/UDP Connection State.

Enumeration values:
CONNECTION_CLOSED 
CONNECTION_CONNECTING 
CONNECTION_CONNECTED 
CONNECTION_LISTENING 
CONNECTION_CLOSING 
CONNECTION_ERROR 

Definition at line 21 of file Socket.h.

enum FlushType_t
 

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 31 of file Socket.h.

enum TransportType_t
 

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 15 of file Socket.h.


Tekkotsu v2.2.2
Generated Tue Jan 4 15:45:36 2005 by Doxygen 1.4.0