Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
00001 #ifndef STK_TCPSERVER_H 00002 #define STK_TCPSERVER_H 00003 00004 #include "Socket.h" 00005 00006 namespace stk { 00007 00008 /***************************************************/ 00031 /***************************************************/ 00032 00033 class TcpServer : public Socket 00034 { 00035 public: 00037 00040 TcpServer( int port = 2006 ); 00041 00043 ~TcpServer(); 00044 00046 00051 int accept( void ); 00052 00054 int writeBuffer(const void *buffer, long bufferSize, int flags = 0); 00055 00057 int readBuffer(void *buffer, long bufferSize, int flags = 0); 00058 00059 protected: 00060 00061 }; 00062 00063 } // stk namespace 00064 00065 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2010 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |