AuroraRuntime/Include/Aurora/IO/Net/ISocketBase.hpp
Reece Wilson d9dd1182b9 [+] TLS pinning
[*] ISocket::Shutdown(*bool bNow*), allowing for flush of the send channel when false
[*] Fix StartRead and StartWrite after shutdown (NT)
[*] Amended dead-lock
2022-11-18 04:44:47 +00:00

22 lines
475 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: ISocketBase.hpp
Date: 2022-8-22
Author: Reece
***/
#pragma once
namespace Aurora::IO::Net
{
struct ISocketBase
{
virtual const NetError &GetError() = 0;
virtual const NetEndpoint &GetLocalEndpoint() = 0;
virtual void Shutdown(bool bNow = true) = 0;
virtual void Destroy() = 0;
virtual AuUInt ToPlatformHandle() = 0;
};
}