43 lines
715 B
C++
43 lines
715 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: BaseSocket.cpp
|
||
|
Date: 2022-2-1
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#include <Source/RuntimeInternal.hpp>
|
||
|
#include "Net.hpp"
|
||
|
#include "BaseSocket.hpp"
|
||
|
|
||
|
namespace Aurora::IO::Net
|
||
|
{
|
||
|
PlatformSocket_t &BaseSocket::ToPlatformSocket()
|
||
|
{
|
||
|
return this->osSocket_;
|
||
|
}
|
||
|
|
||
|
BaseChannel &BaseSocket::ToChannel()
|
||
|
{
|
||
|
return this->channel_;
|
||
|
}
|
||
|
|
||
|
bool BaseSocket::PumpRead()
|
||
|
{
|
||
|
return {};
|
||
|
}
|
||
|
|
||
|
bool BaseSocket::PumpWrite()
|
||
|
{
|
||
|
return {};
|
||
|
}
|
||
|
|
||
|
bool BaseSocket::Pump()
|
||
|
{
|
||
|
return {};
|
||
|
}
|
||
|
|
||
|
void BaseSocket::Run(int idx, AuUInt32 timeout)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|