/*** Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: AuNetSocketServerOnRead.Unix.hpp Date: 2022-12-16 Author: Reece ***/ #pragma once #include "AuNetSocketServerAcceptReadOperation.hpp" namespace Aurora::IO::Net { struct NetInterface; struct Socket; struct NetSocketServerOnRead : virtual SocketServerAcceptReadOperationBase { NetSocketServerOnRead(NetInterface *pInterface, Socket *pParent); bool DoTick(); bool InitOnce(); void Destroy(); protected: NetInterface *pInterface_; Socket *pParent_; AuSPtr pWatch_; }; }