#ifndef NET_SOCKET_SOCKET_DESCRIPTOR_H_
#define NET_SOCKET_SOCKET_DESCRIPTOR_H_
#include "build/build_config.h"
#include "net/base/net_export.h"
#if BUILDFLAG(IS_WIN)
#include "base/win/windows_types.h"
#endif
namespace net {
#if BUILDFLAG(IS_WIN)
typedef UINT_PTR SocketDescriptor;
const SocketDescriptor kInvalidSocket = (SocketDescriptor)(~0);
#elif BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
SocketDescriptor;
const SocketDescriptor kInvalidSocket = …;
#endif
SocketDescriptor NET_EXPORT CreatePlatformSocket(int family,
int type,
int protocol);
}
#endif