Main Page   Packages   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals  

SocketBase.h

Go to the documentation of this file.
00001 /*
00002  * $Id: SocketBase.h,v 1.4 2002/07/08 04:58:12 mindstorm2600 Exp $
00003  */
00007 #ifndef __SOCKET_BASE_H__
00008 #define __SOCKET_BASE_H__
00009 #include<Object.h>
00010 
00011 namespace clawsoft{
00012 
00017         class SocketBase:public Object{
00018          protected:
00022           int sock;
00027           int port;
00031           int setSockOption(int opname, void *optval, unsigned int siz);
00032           int setTCPOption(int opname, void *optval, unsigned int siz);
00033          public:
00034           SocketBase();
00035           ~SocketBase(){
00036           }
00038           const int getSocket(){
00039                   return sock;
00040           }
00043           int setSoTimeout(int);
00044         };
00045 };
00046 
00047 #endif

Powered by:

SourceForge Logo