Deskflow
1.26.0.418
Keyboard and mouse sharing utility
Toggle main menu visibility
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 Synergy App 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
14
class
IDataSocket
;
15
17
21
class
IListenSocket
:
public
ISocket
22
{
23
public
:
25
26
28
33
virtual
std::unique_ptr<IDataSocket>
accept
() = 0;
34
36
};
ISocket.h
IDataSocket
Data stream socket interface.
Definition
IDataSocket.h:21
IListenSocket
Listen socket interface.
Definition
IListenSocket.h:22
IListenSocket::accept
virtual std::unique_ptr< IDataSocket > accept()=0
Accept connection.
ISocket
Generic socket interface.
Definition
ISocket.h:19
src
lib
net
IListenSocket.h
Generated by
1.18.0