21#ifndef LELY_IO_INTERN_IO_H_
22#define LELY_IO_INTERN_IO_H_
32#pragma comment(lib, "ws2_32.lib")
34#define FD_SETSIZE 1024
41#elif defined(_POSIX_C_SOURCE)
45#include <netinet/in.h>
46#include <netinet/tcp.h>
47#include <sys/socket.h>
56#ifdef HAVE_BLUETOOTH_BLUETOOTH_H
57#include <bluetooth/bluetooth.h>
59#ifdef HAVE_BLUETOOTH_RFCOMM_H
60#include <bluetooth/rfcomm.h>
63#ifdef HAVE_LINUX_CAN_H
67#ifdef HAVE_SYS_IOCTL_H
75#ifndef MCAST_JOIN_GROUP
76#define MCAST_JOIN_GROUP 41
79#ifndef MCAST_LEAVE_GROUP
80#define MCAST_LEAVE_GROUP 42
83#ifndef MCAST_BLOCK_SOURCE
84#define MCAST_BLOCK_SOURCE 43
87#ifndef MCAST_UNBLOCK_SOURCE
88#define MCAST_UNBLOCK_SOURCE 44
91#ifndef MCAST_JOIN_SOURCE_GROUP
92#define MCAST_JOIN_SOURCE_GROUP 45
95#ifndef MCAST_LEAVE_SOURCE_GROUP
96#define MCAST_LEAVE_SOURCE_GROUP 46
99typedef USHORT sa_family_t;
104#define INVALID_HANDLE_VALUE (-1)
107#define INVALID_SOCKET (-1)
109#define SOCKET_ERROR (-1)
111#define closesocket close
This header file is part of the utilities library; it contains the configuration functions.
This header file is part of the I/O library; it contains the CAN bus declarations for Linux.
This is the public header file of the I/O library.
This header file is part of the C11 and POSIX compatibility library; it includes <unistd....