2 +--------------------------------------------------------------------+
3 | libmemcached - C/C++ Client Library for memcached |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted under the terms of the BSD license. |
7 | You should have received a copy of the license in a bundled file |
8 | named LICENSE; in case you did not receive a copy you can review |
9 | the terms online at: https://opensource.org/licenses/BSD-3-Clause |
10 +--------------------------------------------------------------------+
11 | Copyright (c) 2006-2014 Brian Aker https://datadifferential.com/ |
12 | Copyright (c) 2020 Michael Wallner <mike@php.net> |
13 +--------------------------------------------------------------------+
19 # include <winsock2.h>
20 # include <ws2tcpip.h>
22 # ifndef HAVE_IN_PORT_T
23 typedef int in_port_t
;
24 # define HAVE_IN_PORT_T 1
27 typedef SOCKET memcached_socket_t
;
30 # include <sys/socket.h>
31 # include <netinet/in.h>
32 # include <arpa/inet.h>
35 # include <netinet/tcp.h>
37 typedef int memcached_socket_t
;