Add support for relaying unix sockets

This commit is contained in:
Lauri Kasanen
2023-02-16 15:51:26 +02:00
parent 61613c4e65
commit 3bae812364
18 changed files with 333 additions and 0 deletions

View File

@@ -110,6 +110,9 @@ public:
const char* userName,
char** reason);
virtual void receivedUnixRelayData(const char name[], const unsigned char *buf,
const unsigned len);
protected:
bool handleListenerEvent(int fd,
std::list<network::SocketListener*>* sockets,
@@ -138,5 +141,7 @@ private:
rfb::Point oldCursorPos;
bool resizing;
uint8_t unixbuf[1024 * 1024];
};
#endif