renamed ServerInterface

This commit is contained in:
Erik Frojdh
2020-02-04 08:57:35 +01:00
parent e6340456f6
commit ec66079f65
8 changed files with 88 additions and 88 deletions

View File

@ -1,7 +1,7 @@
#pragma once
#include "DataSocket.h"
#include "ServerInterface2.h"
#include "ServerInterface.h"
#include "network_utils.h"
#include <cstdint>
#include <netdb.h>
@ -14,7 +14,7 @@ namespace sls {
class ServerSocket : public DataSocket {
public:
ServerSocket(int port);
ServerInterface2 accept();
ServerInterface accept();
IpAddr getLastClient() const noexcept { return lastClient; }
IpAddr getThisClient() const noexcept { return thisClient; }
IpAddr getLockedBy() const noexcept { return lockedBy; }