Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields  

SocketBase.h

00001 /*
00002  * $Id: SocketBase.h,v 1.9 2003/07/01 03:28:26 mindstorm2600 Exp $
00003  */
00004 #ifndef __SOCKET_BASE_H__
00005 #define __SOCKET_BASE_H__
00006 #include<Network.h>
00007 #include<DataTypes.h>
00008 
00009 namespace clawsoft{
00010 
00015         class SocketBase:public Network{
00016          protected:
00020           TCPsocket tcpsock;
00025           int port;
00029           int setSockOption(int opname, void *optval, unsigned int siz);
00030           int setTCPOption(int opname, void *optval, unsigned int siz);
00031          public:
00032           SocketBase();
00033           ~SocketBase(){
00034           }
00036           const TCPsocket getSocket(){
00037                   return tcpsock;
00038           }
00041           int setSoTimeout(int);
00042         };
00043 };
00044 
00045 #endif

Authors:

Juan V. Guerrero
Jannette C. Mejia
Juan C. Guevara

Powered by:

SourceForgeLogo