ClientServerProject/linux.h

8 lines
175 B
C
Raw Normal View History

2021-02-09 23:02:05 -05:00
#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;