Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
00001 /***************************************************/ 00024 /***************************************************/ 00025 00026 #ifndef STK_TCPSERVER_H 00027 #define STK_TCPSERVER_H 00028 00029 #include "Socket.h" 00030 00031 class TcpServer : public Socket 00032 { 00033 public: 00035 00038 TcpServer( int port = 2006 ); 00039 00041 ~TcpServer(); 00042 00044 00049 int accept( void ); 00050 00052 int writeBuffer(const void *buffer, long bufferSize, int flags = 0); 00053 00055 int readBuffer(void *buffer, long bufferSize, int flags = 0); 00056 00057 protected: 00058 00059 }; 00060 00061 #endif // defined(STK_TCPSERVER_H)
The Synthesis ToolKit in C++ (STK) |
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |