#include <errno.h>
#include <fcntl.h>
#include <io.h>
Go to the source code of this file.
Defines | |
#define | FD_TO_SOCKET(fd) ((SOCKET) _get_osfhandle ((fd))) |
#define | SOCKET_TO_FD(fh) (_open_osfhandle ((long) (fh), O_RDWR | O_BINARY)) |
#define FD_TO_SOCKET | ( | fd | ) | ((SOCKET) _get_osfhandle ((fd))) |
#define SOCKET_TO_FD | ( | fh | ) | (_open_osfhandle ((long) (fh), O_RDWR | O_BINARY)) |