mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-02-20 15:14:26 +01:00
25 lines
389 B
C++
25 lines
389 B
C++
#pragma once
|
|
|
|
#include <brynet/net/SocketLibTypes.hpp>
|
|
|
|
|
|
#ifdef BRYNET_PLATFORM_WINDOWS
|
|
class Win {
|
|
public:
|
|
enum class OverlappedType {
|
|
OverlappedNone = 0,
|
|
OverlappedRecv,
|
|
OverlappedSend,
|
|
};
|
|
|
|
struct OverlappedExt {
|
|
OVERLAPPED base;
|
|
const OverlappedType OP;
|
|
|
|
OverlappedExt(OverlappedType op) BRYNET_NOEXCEPT : OP(op) {
|
|
memset(&base, 0, sizeof(base));
|
|
}
|
|
};
|
|
};
|
|
#endif
|