/*** Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: AuNetSocketServerAcceptReadOperation.Unix.hpp Date: 2022-8-22 Author: Reece ***/ #pragma once #include "AuNetSocketServerAcceptReadOperation.hpp" namespace Aurora::IO::Net { struct NetInterface; struct SocketServerAcceptReadOperation : virtual SocketServerAcceptReadOperationBase { SocketServerAcceptReadOperation(NetInterface *pInterface, SocketServer *pParent); bool DoTick(); bool InitOnce(); bool Pretick(); void UpdateNextSocketAddresses(); void Destroy(); protected: AuSPtr nextSocketPtr; NetInterface *pInterface_; int nextSocket {}; AuSPtr pWatch_; }; }