diff options
author | Mike Buland <eichlan@xagasoft.com> | 2023-07-28 21:18:56 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2023-07-28 21:18:56 -0700 |
commit | 915005e218b5d00939b548de65ce6354f7acb487 (patch) | |
tree | 2f624a37f86f97cfd61c1995df7e4368b462bcac /src/stable/socket.h | |
parent | e43a2cac32cb773994b11a3d964ec4acc372d273 (diff) | |
download | libbu++-915005e218b5d00939b548de65ce6354f7acb487.tar.gz libbu++-915005e218b5d00939b548de65ce6354f7acb487.tar.bz2 libbu++-915005e218b5d00939b548de65ce6354f7acb487.tar.xz libbu++-915005e218b5d00939b548de65ce6354f7acb487.zip |
Completely redesigned Server and Client.
Like, seriously, they're almost completely different.
Diffstat (limited to '')
-rw-r--r-- | src/stable/socket.h | 33 |
1 files changed, 33 insertions, 0 deletions
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 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007-2019 Xagasoft, All rights reserved. | ||
3 | * | ||
4 | * This file is part of the libbu++ library and is released under the | ||
5 | * terms of the license contained in the file LICENSE. | ||
6 | */ | ||
7 | |||
8 | #ifndef BU_SOCKET_H | ||
9 | #define BU_SOCKET_H | ||
10 | |||
11 | #include <stdint.h> | ||
12 | |||
13 | #include "bu/config.h" | ||
14 | #include "bu/stream.h" | ||
15 | |||
16 | namespace Bu | ||
17 | { | ||
18 | /** | ||
19 | * | ||
20 | *@ingroup Serving | ||
21 | *@ingroup Streams | ||
22 | */ | ||
23 | class Socket : public Stream | ||
24 | { | ||
25 | public: | ||
26 | Socket(); | ||
27 | virtual ~Socket(); | ||
28 | |||
29 | virtual bool getFd( int &rFdOut ) const=0; | ||
30 | }; | ||
31 | } | ||
32 | |||
33 | #endif | ||