[*] 240685f7 cont: datagram channel missing [G/S]etNextFrameTargetLength

This commit is contained in:
Reece Wilson 2023-10-16 03:20:28 +01:00
parent 4742d2b9e7
commit f53ea2a0a7
2 changed files with 15 additions and 0 deletions

View File

@ -414,6 +414,17 @@ namespace Aurora::IO::Net
}
void NetDatagramSocketServerChannel::SetNextFrameTargetLength(AuUInt uNextFrameSize)
{
}
AuUInt NetDatagramSocketServerChannel::GetNextFrameTargetLength()
{
return this->pBuffer->RemainingBytes();
}
SocketStats &NetDatagramSocketServerChannel::GetSendStatsEx()
{
return this->sendStats_;

View File

@ -70,6 +70,10 @@ namespace Aurora::IO::Net
void RemoveEventListener(const AuSPtr<ISocketChannelEventListener> &pListener) override;
void SetNextFrameTargetLength(AuUInt uNextFrameSize) override;
AuUInt GetNextFrameTargetLength() override;
SocketStats &GetSendStatsEx();
SocketStats &GetRecvStatsEx();