#include <CSocket.h>
Inheritance diagram for CSocket:

Public Member Functions | |
| CSocket () | |
| constructor | |
| ~CSocket () | |
| destroy this: close the socket | |
| int | getSocketDescriptor () const |
| get the descriptor of the socket | |
| void | setServeFunction (CServeFunction *inServeFunction) |
| Serve from the socket that accepted. | |
| virtual bool | acceptAndServe ()=0 |
| accept this socket and serve | |
| virtual void | serveStream (int) |
| serve to this socket | |
| virtual | operator bool () const |
Protected Attributes | |
| bool | mIsInitialized |
| has this been initialized ? | |
| int | mSocketDescriptor |
| int | |
| CServeFunction * | mServeFunction |