J Reece Wilson
1e4082c02f
[+] NetSocketBind::uDefaultInputStreamSize [+] NetDatagramBind::uDefaultInputStreamSize
32 lines
706 B
C++
Executable File
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_;
|
|
};
|
|
} |