Logo
~Sockets~
~Examples~
~Contact~


BaseSocket.h File Reference

#include <TcpSocket.h>

Include dependency graph for BaseSocket.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  BaseSocket

Enumerations

enum  mastercmd_t { M2S_OPEN = 0, M2S_CLOSE, M2S_DATA }
enum  slavecmd_t { S2M_CONNECT = 0, S2M_DISCONNECTED, S2M_DATA }

Enumeration Type Documentation

Enumerator:
M2S_OPEN 
M2S_CLOSE 
M2S_DATA 

Definition at line 7 of file BaseSocket.h.

00007              {
00008         M2S_OPEN = 0, // payload: host:port
00009         M2S_CLOSE,
00010         M2S_DATA, // payload: data
00011 //      M2S_PROXY_HEADER, // payload: http header to remote server
00012 //      M2S_PROXY_BODY, // payload: data
00013 //      M2S_PROXY_CONNECT, // payload: http proxy header w/ connection info
00014 } mastercmd_t;

enum slavecmd_t

Enumerator:
S2M_CONNECT 
S2M_DISCONNECTED 
S2M_DATA 

Definition at line 17 of file BaseSocket.h.

00017              {
00018         S2M_CONNECT = 0,
00019         S2M_DISCONNECTED,
00020         S2M_DATA,
00021 //      S2M_PROXY_HEADER,
00022 //      S2M_PROXY_DATA,
00023 //      S2M_PROXY_CONNECT,
00024 //      S2M_PROXY_CONNECT_FAILED,
00025 //      S2M_PROXY_CLOSE,
00026 } slavecmd_t;

Page, code, and content Copyright (C) 2006 by Anders Hedström
Generated on Mon Aug 29 20:21:47 2005 for C++ Sockets by  doxygen 1.4.4