32 auto fd =
fsp::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
44 auto sock =
::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
60 auto sock3 =
::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
66 int devNull = ::open(
"/dev/null", O_RDONLY);
78 auto sock =
::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
#define EXPECT_EQ(val1, val2)
static int close(int fd) noexcept
—— Concurrent Priority Queue Implementation ——
static int socketToFd(int sock) noexcept
TEST(SocketFileDescriptorMap, fd_to_socket_consistent)
NetworkSocket socket(int af, int type, int protocol)
#define EXPECT_NE(val1, val2)
static int fdToSocket(int fd) noexcept
constexpr auto kIsWindows
int close(NetworkSocket s)