libnick 2025.1.0
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
addressfamily.h
Go to the documentation of this file.
1#ifndef ADDRESSFAMILY_H
2#define ADDRESSFAMILY_H
3
4#ifdef _WIN32
5#include <Winsock2.h>
6#else
7#include <sys/socket.h>
8#endif
9
11{
15 enum class AddressFamily
16 {
17#ifdef _WIN32
18 Pipe,
19#else
20 Unix = AF_UNIX,
21#endif
22 IPv4 = AF_INET
23 };
24}
25
26#endif //ADDRESSFAMILY_H
Definition addressfamily.h:11
AddressFamily
Type of address that can be used by a socket.
Definition addressfamily.h:16