@ -4,9 +4,9 @@
#include <bakanet/core/packet.h>
#include <bakanet/core/socket.h>
#ifdef BK_PLAFORM_WINDOWS
#if defined(BK_PLATFORM_WINDOWS)
#include <platform/windows/windows_socket.h>
#elif BK_PLAFORM_LINUX
#elif defined(BK_PLATFORM_LINUX)
#include <platform/linux/linux_socket.h>
#else
#error "Plaform not supported"
@ -1,6 +1,7 @@
#pragma once
#include <bakanetpch.h>
#include <bakatools.h>
#include <bakanet/core/ip_address.h>
@ -12,15 +12,12 @@
#include <functional>
#include <thread>
#define log(str) std::cout << str << "\n";
#define input(ref) std::cin >> ref;
#include <Ws2tcpip.h>
#include <WinSock2.h>
#include <tchar.h>
#pragma comment(lib,"WS2_32.lib")
#include <netinet/in.h>
#include <stdlib.h>
#include <sys/socket.h>