Low-Level C++ SDK  v1.3.0
Loading...
Searching...
No Matches
WeArtClient.cpp File Reference
#include "WeArtClient.h"
#include <iostream>
#include <windows.h>
#include <ws2tcpip.h>
#include <ppltasks.h>
Include dependency graph for WeArtClient.cpp:

Macros

#define WIN32_LEAN_AND_MEAN
 
#define DEFAULT_BUFLEN   512
 
#define DATA_BUFSIZE   4096
 

Functions

std::string WSAGetLastErrorString ()
 
std::string FormatWSAStartupError (int result)
 

Variables

int recvbuflen = DEFAULT_BUFLEN
 
char recvbuf [DEFAULT_BUFLEN]
 

Macro Definition Documentation

◆ DATA_BUFSIZE

#define DATA_BUFSIZE   4096

◆ DEFAULT_BUFLEN

#define DEFAULT_BUFLEN   512

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

WEART - Common TCP Client https://www.weart.it/

Function Documentation

◆ FormatWSAStartupError()

std::string FormatWSAStartupError ( int  result)

◆ WSAGetLastErrorString()

std::string WSAGetLastErrorString ( )

Variable Documentation

◆ recvbuf

char recvbuf[DEFAULT_BUFLEN]

◆ recvbuflen

int recvbuflen = DEFAULT_BUFLEN