26 #include "vtkCommonSystemModule.h" 62 int Receive(
void* data,
int length,
int readFully=1);
68 vtkGetMacro(SocketDescriptor,
int);
75 static int SelectSockets(
const int* sockets_to_select,
int size,
76 unsigned long msec,
int* selected_index);
95 void CloseSocket(
int socketdescriptor);
101 int BindSocket(
int socketdescriptor,
int port);
108 int SelectSocket(
int socketdescriptor,
unsigned long msec);
114 int Accept(
int socketdescriptor);
119 int Listen(
int socketdescriptor);
124 int Connect(
int socketdescriptor,
const char* hostname,
int port);
130 int GetPort(
int socketdescriptor);
134 void operator=(
const vtkSocket&) =
delete;
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a collection for sockets.
int GetConnected()
Check is the socket is alive.
a simple class to control print indentation
BSD socket encapsulation.