Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IListenSocket.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
4 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
5 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6 */
7
8#pragma once
9
10#include "net/ISocket.h"
11
12#include <memory>
13
14class IDataSocket;
15
17
21class IListenSocket : public ISocket
22{
23public:
25
26
28
33 virtual std::unique_ptr<IDataSocket> accept() = 0;
34
36};
Data stream socket interface.
Definition IDataSocket.h:21
Listen socket interface.
Definition IListenSocket.h:22
virtual std::unique_ptr< IDataSocket > accept()=0
Accept connection.
Generic socket interface.
Definition ISocket.h:19