AuroraRuntime/Source/IO/Net/AuNetSocketServerOnRead.Unix.hpp
J Reece Wilson 1e4082c02f [+] Linux datagrams
[+] NetSocketBind::uDefaultInputStreamSize
[+] NetDatagramBind::uDefaultInputStreamSize
2022-12-16 17:18:12 +00:00

32 lines
706 B
C++
Executable File

/***
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<IIOProcessorItem> pWatch_;
};
}