This class is derived from the CAVERNnet_parallelTcpServer_c class. The port number on which the server is to be opened is given to the init() method. After this we can use the checkForNewConnections() method to look for incoming client connections.
CAVERNnet_extendedParallelTcpClient_c
This class is derived from CAVERNnet_parallelTcpClient_c and can be used to create a client. It can connect to the server using connectToServer(Machine name, Port Number, NumberofSockets). You can read or write data of various types using the methods in this class - character, integer, array of integers, 32 bit integer, array of 32 bit integers, 64 bit integers, array of 64 bit integers, long integer, array of long integer, single precision floating point value, array of float values, double precision floating point value or an array of double precision floating point values. You can choose the mode of the I/O operation (blocking or non blocking)..
2. To run a client
client <server address>
At client :
Received Float: 38293.382812
Received Float Array
array[0] = 328392.312500
array[1] = 328374.312500
array[2] = 328293.218750
array[3] = 271839.437500
for more information email : cavern@evl.uic.edu