improve error reporting, remove duplicate code

This commit is contained in:
Lion Kortlepel
2021-08-02 13:54:36 +02:00
parent fdb5da2ed6
commit 1e2f060107
4 changed files with 50 additions and 90 deletions

View File

@@ -7,6 +7,7 @@
#include <sys/socket.h>
#include <termios.h>
#include <unistd.h>
#include <errno.h>
using SOCKET = int;
using DWORD = unsigned long;
using PDWORD = unsigned long*;