26 lines
580 B
C++
26 lines
580 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: AuNetSocketConnectOperation.hpp
|
||
|
Date: 2022-8-17
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
#include "AuNetSocketOverlappedOperation.hpp"
|
||
|
#include "AuNetSocket.hpp"
|
||
|
|
||
|
namespace Aurora::IO::Net
|
||
|
{
|
||
|
struct SocketBase;
|
||
|
|
||
|
struct SocketConnectOperation : SocketOverlappedOperation
|
||
|
{
|
||
|
SocketConnectOperation(SocketBase *pParent);
|
||
|
|
||
|
SocketBase *pParent;
|
||
|
|
||
|
void OnOverlappedComplete() override;
|
||
|
void OnOverlappedFailure(const NetError &error) override;
|
||
|
};
|
||
|
}
|