aboutsummaryrefslogtreecommitdiffstats
path: root/common/network/Socket.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-09-10 17:05:39 +0200
committerPierre Ossman <ossman@cendio.se>2024-10-09 13:36:32 +0200
commit6029d50080bb795524d6cefe8d6b4b9b88475bdd (patch)
tree4916afbcaf13ae844c38d5143644533f1bae3053 /common/network/Socket.h
parent2fe9dca45f7d0a519fef5053ba61e2db7c1ff2b1 (diff)
downloadtigervnc-6029d50080bb795524d6cefe8d6b4b9b88475bdd.tar.gz
tigervnc-6029d50080bb795524d6cefe8d6b4b9b88475bdd.zip
Move SocketException to rdr
Socket APIs are used in more places than the abstraction in common/network. Make it easier to use this exception class by putting it in a more common place.
Diffstat (limited to 'common/network/Socket.h')
-rw-r--r--common/network/Socket.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/network/Socket.h b/common/network/Socket.h
index 7085d73a..34b8db8e 100644
--- a/common/network/Socket.h
+++ b/common/network/Socket.h
@@ -26,7 +26,6 @@
#include <limits.h>
#include <rdr/FdInStream.h>
#include <rdr/FdOutStream.h>
-#include <rdr/Exception.h>
namespace network {
@@ -107,10 +106,6 @@ namespace network {
ConnectionFilter* filter;
};
- struct SocketException : public rdr::SystemException {
- SocketException(const char* text, int err_) : rdr::SystemException(text, err_) {}
- };
-
}
#endif // __NETWORK_SOCKET_H__