class CAVERNplus_remoteFileIOServer_c

This class acts as a server for performing remote upload and download of files

Public Fields

const int defaultPort
Default port number to listen on.

Public Methods

int init (int incomingPort=defaultPort)
Initialize server.
void process ()
Check for incoming requests

Documentation

This class acts as a server for performing remote upload and download of files. First call the init() call and then inside a while loop call checkForNewRequests(). Use CAVERNplus_remoteFileIOClient_c to connect to this server and perform the upload and download operations.

Note: currently I am finding a strange behavior in threads that causes the network I/O to improperly complete. Hence checkForNewRequests() currently does not create a new thread for each client that makes an IO request. All clients must wait in line.

void process()
Check for incoming requests. Recommend doing this in a while loop.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de