![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <arpa/inet.h>#include <fcntl.h>#include <net/if.h>#include <netdb.h>#include <netinet/in.h>#include <netinet/tcp.h>#include <sys/mman.h>#include <sys/select.h>#include <sys/socket.h>#include <sys/types.h>#include <unistd.h>#include <cerrno>Go to the source code of this file.
Macros | |
| #define | WSAGetLastError() errno |
| #define | WSAEINVAL EINVAL |
| #define | WSAEWOULDBLOCK EWOULDBLOCK |
| #define | WSAEAGAIN EAGAIN |
| #define | WSAEMSGSIZE EMSGSIZE |
| #define | WSAEINTR EINTR |
| #define | WSAEINPROGRESS EINPROGRESS |
| #define | WSAEADDRINUSE EADDRINUSE |
| #define | INVALID_SOCKET (SOCKET)(~0) |
| #define | SOCKET_ERROR -1 |
| #define | MAX_PATH 1024 |
| #define | MAIN_FUNCTION int main(int argc, char* argv[]) |
| #define | MSG_NOSIGNAL 0 |
| #define | MSG_DONTWAIT 0 |
Typedefs | |
| typedef unsigned int | SOCKET |