21 #ifndef XAPIAN_INCLUDED_TCPSERVER_H    22 #define XAPIAN_INCLUDED_TCPSERVER_H    26 # define SOCKET_INITIALIZER_MIXIN : private WinsockInitializer    28 # define SOCKET_INITIALIZER_MIXIN    31 #if defined __CYGWIN__ || defined __WIN32__    45     void operator=(
const TcpServer &);
    48     TcpServer(
const TcpServer &);
    50 #if defined __CYGWIN__ || defined __WIN32__    65     static int get_listening_socket(
const std::string & host, 
int port,
    67 #
if defined __CYGWIN__ || defined __WIN32__
    77     int accept_connection();
    89     TcpServer(
const std::string &host, 
int port, 
bool tcp_nodelay,
   107     virtual void handle_one_connection(
int socket) = 0;
   110 #endif  // XAPIAN_INCLUDED_TCPSERVER_H RemoteConnection class used by the remote backend. 
 
bool verbose
Should we produce output when connections are made or lost? 
 
int listen_socket
The socket we're listening on. 
 
#define XAPIAN_VISIBILITY_DEFAULT
 
Define XAPIAN_VISIBILITY_* macros. 
 
include <windows.h> without all the bloat and damage. 
 
TCP/IP replication client class.