CrossSockets C++
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
307 B

4 years ago
// CrossSockets
// Copyright Jeroen Saey
// Created 27-01-2013
// CrossSocketsCore.h
#pragma once
#ifdef __WIN32__
#include <winsock2.h>
#define F_SETFL FIONBIO
#define O_NONBLOCK 1
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
#endif