From 915005e218b5d00939b548de65ce6354f7acb487 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 28 Jul 2023 21:18:56 -0700 Subject: Completely redesigned Server and Client. Like, seriously, they're almost completely different. --- src/stable/socket.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/stable/socket.h (limited to 'src/stable/socket.h') diff --git a/src/stable/socket.h b/src/stable/socket.h new file mode 100644 index 0000000..360b3aa --- /dev/null +++ b/src/stable/socket.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2007-2019 Xagasoft, All rights reserved. + * + * This file is part of the libbu++ library and is released under the + * terms of the license contained in the file LICENSE. + */ + +#ifndef BU_SOCKET_H +#define BU_SOCKET_H + +#include + +#include "bu/config.h" +#include "bu/stream.h" + +namespace Bu +{ + /** + * + *@ingroup Serving + *@ingroup Streams + */ + class Socket : public Stream + { + public: + Socket(); + virtual ~Socket(); + + virtual bool getFd( int &rFdOut ) const=0; + }; +} + +#endif -- cgit v1.2.3