Files
VoidNet/include/Init.hpp
xX-TheDoctor-Xx 3e97c0da6d Updated TODO list
Removed windows specific files since the code is the same for linux
UdpClient: added basic methods to interact with the variables of that class, added initialization and started with sending and receiving messages
UdpServer: added initialization and basic variables
Utility: added a bunch of methods to the StringConverter utility class
VoidNetClientAPI: SendMessage now checks if message is not an handshake
2016-09-08 00:36:45 +01:00

25 lines
266 B
C++

#ifndef INIT_HPP
#define INIT_HPP
#ifdef _MSC_VER
#pragma once
#endif
#include "Defs.hpp"
struct Initialization
{
static bool Initialize();
#ifdef _MSC_VER
const WSADATA &GetData();
#endif
private:
#ifdef _MSC_VER
static WSADATA wsa_data;
#endif
};
#endif