Initialization of WinSock librarry

This commit is contained in:
2019-12-25 11:28:54 +01:00
parent 8c5a2bd7ac
commit 78dd5366a0
49 changed files with 138 additions and 41 deletions

12
SocketLibrary/Log.cpp Normal file
View File

@@ -0,0 +1,12 @@
#include <iostream>
#include "Log.h"
void SocketLibrary::Log::Print(std::string message)
{
std::cout << message << std::endl;
}
void SocketLibrary::Log::PrintError(std::string message, int error)
{
std::cerr << "[Error Code: " << error << "] "<< message << std::endl;
}