Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SocketNS Namespace Reference


Detailed Description

holds socket enumerations and constants


Enumerations

enum  TransportType_t { SOCK_STREAM = _SYS_SOCK_STREAM, SOCK_DGRAM = _SYS_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...

Variables

const int _SYS_SOCK_STREAM = 1
 aperios doesn't provide SOCK_STREAM, so we will initialize them to these values
const int _SYS_SOCK_DGRAM = 2
 aperios doesn't provide SOCK_DGRAM, so we will initialize them to these values


Enumeration Type Documentation

enum SocketNS::ConnectionState
 

Internal TCP/UDP Connection State.

Enumerator:
CONNECTION_CLOSED 
CONNECTION_CONNECTING 
CONNECTION_CONNECTED 
CONNECTION_LISTENING 
CONNECTION_CLOSING 
CONNECTION_ERROR 

Definition at line 39 of file Socket.h.

enum SocketNS::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.

Enumerator:
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 49 of file Socket.h.

enum SocketNS::TransportType_t
 

Specifies transport type. TCP is usually a good idea.

Enumerator:
SOCK_STREAM  TCP: guaranteed delivery, higher overhead.
SOCK_DGRAM  UDP: no guarantees, low overhead.

Definition at line 33 of file Socket.h.


Variable Documentation

const int SocketNS::_SYS_SOCK_DGRAM = 2
 

aperios doesn't provide SOCK_DGRAM, so we will initialize them to these values

Definition at line 20 of file Socket.h.

const int SocketNS::_SYS_SOCK_STREAM = 1
 

aperios doesn't provide SOCK_STREAM, so we will initialize them to these values

Definition at line 19 of file Socket.h.


Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:15 2005 by Doxygen 1.4.4