#ifndef _INCLUDED_BOBCAT_SERVERSOCKET_
#define _INCLUDED_BOBCAT_SERVERSOCKET_

#include <string>
#include <bobcat/socketbase>

namespace FBB
{
    class ServerSocket: public SocketBase
    {
        public:
            ServerSocket(size_t port) throw (Errno);              // 1
            void listen(size_t backlog = 5, bool blocking = true)  
                                                                throw (Errno);
            SocketBase accept() throw (Errno);
    };

}

#endif
