44 int Send(
const void* data,
int length);
51 int Receive(
void* data,
int length,
int readFully=1);
56 vtkGetMacro(SocketDescriptor,
int);
62 static int SelectSockets(
const int* sockets_to_select,
int size,
63 unsigned long msec,
int* selected_index);
80 void CloseSocket(
int socketdescriptor);
84 int BindSocket(
int socketdescriptor,
int port);
88 int SelectSocket(
int socketdescriptor,
unsigned long msec);
92 int Accept(
int socketdescriptor);
96 int Listen(
int socketdescriptor);
99 int Connect(
int socketdescriptor,
const char* hostname,
int port);
102 int GetPort(
int socketdescriptor);
abstract base class for most VTK objects
a collection for sockets.
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
BSD socket encapsulation.