mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-03 23:51:14 +01:00
Alibek Omarov
bd1bfea695
Made code smaller Fixed problem where v6 and v4 socket can't use same port Added support for v4-to-v6 mapped addresses, although it's kept unused Probably final version
24 lines
664 B
C
24 lines
664 B
C
/*
|
|
net.h - WinSock to BSD sockets wrap
|
|
Copyright (C) 2022 a1batross
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
*/
|
|
#ifndef NET_H
|
|
#define NET_H
|
|
|
|
#include <WS2tcpip.h>
|
|
typedef int WSAsize_t;
|
|
|
|
#define HAVE_GETADDRINFO
|
|
|
|
#endif // NET_H
|