#pragma once #include "cstdafx.h" #include #include #if defined(_unix_) #include #include #elif defined(_win_) #include using socklen_t = int; #endif #include template static const T* BreakAliasing(const void* f) { return (const T*)f; } template static T* BreakAliasing(void* f) { return (T*)f; }