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