26 lines
714 B
C++
26 lines
714 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: AuNetSrvSockets.cpp
|
||
|
Date: 2022-8-16
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::IO::Net
|
||
|
{
|
||
|
struct NetInterface;
|
||
|
struct NetSrvSockets : INetSrvSockets
|
||
|
{
|
||
|
NetSrvSockets(NetInterface *pParent);
|
||
|
|
||
|
AuSPtr<ISocket> Connect(const NetSocketConnect &netConnect) override;
|
||
|
AuSPtr<ISocket> ConnectMany(const NetSocketConnectMany &netConnectMany) override;
|
||
|
|
||
|
AuSPtr<ISocketServer> NewServer(const NetSocketBind &netBind) override;
|
||
|
AuSPtr<ISocketServer> NewServerEx(const NetSocketBindEx &netBindEx) override;
|
||
|
|
||
|
private:
|
||
|
NetInterface *pParent_;
|
||
|
};
|
||
|
}
|