22#ifndef vtkServerSocket_h
23#define vtkServerSocket_h
25#include "vtkCommonSystemModule.h"
Encapsulates a client socket.
a simple class to control print indentation
Encapsulate a socket that accepts connections.
int GetServerPort()
Returns the port on which the server is running.
static vtkServerSocket * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkClientSocket * WaitForConnection(unsigned long msec=0)
Waits for a connection.
int CreateServer(int port)
Creates a server socket at a given port and binds to it.
~vtkServerSocket() override
BSD socket encapsulation.