98 #ifndef _UTILSOCKET_H_
99 #define _UTILSOCKET_H_
175 const int *flaWri,
int *
flaRea,
int getmainversionnumber()
Returns the main version number.
int closeipc(int *sockfd)
Closes the inter process communication socket.
int sendclienterror(const int *sockfd, const int *flaWri)
Writes an error flag to the socket stream.
int getsocketportnumber(const char *const docname)
Gets the port number for the BSD socket communication.
int exchangedoubleswithsocket(const int *sockfd, const int *flaWri, int *flaRea, const int *nDblWri, int *nDblRea, double *simTimWri, double dblValWri[], double *simTimRea, double dblValRea[])
Exchanges data with the socket.
end Get return values from pointers flaRea
int sendclientmessage(const int *sockfd, const int *flaWri)
Writes a message flag to the socket stream.
int establishclientsocket(const char *const docname)
Establishes a connection to the socket.