acceptSocket.h

00001 #ifndef ACCEPT_SOCKET
00002 #define ACCEPT_SOCKET
00003 
00004 /*
00005   接続用ソケットの管理
00006   Satofumi KAMIMURA
00007   $Id$
00008 */
00009 
00010 
00011 #include "socketCtrl.h"
00012 #include "socketInit.h"
00013 #include <SDL_net.h>
00014 
00015 
00016 class AcceptSocket : public SocketInit {
00017   TCPsocket accept_socket;
00018   SDLNet_SocketSet accept_set;
00019   
00020   AcceptSocket(void);
00021 
00022 public:
00023   AcceptSocket(Uint16 port);
00024   ~AcceptSocket(void);
00025   SocketCtrl* accept(int timeout = 0);
00026 };
00027 
00028 #endif /* !ACCEPT_SOCKET */
00029 

Generated on Mon Apr 13 22:52:01 2009 by  doxygen 1.5.7.1