int autoPort

( int clifd, FILE* fin )

Link client up with a Connection object based on a Name, or create a new Connection object if one by that Name does not exist.

Documentation

Link client up with a Connection object based on a Name, or create a new Connection object if one by that Name does not exist. The name's root is formed from the Brain's Type and Job. If the Connection is for Brain Commands, no more is needed. For Reports and Stimulus, the filename will also be sent as part of the name. The client also sends the mode - reader or writer. Finally, the client sends the format - ascii, binary, or constant binary. See the Connection object for details on the mode and format.
Parameters:
clifd - Socket Descriptor that the client is using.
- fin Reader for the socket to assist in collection of initialization data

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.