ClientServerProject/linux.h
2021-02-09 23:02:05 -05:00

8 lines
175 B
C
Executable File

#pragma once
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <unistd.h>
#define SOCKET_ERROR -1
#define INVALID_SOCKET 0
typedef int SOCKET;