functionestablishClientSocket
Establishes the client socket connection
Information
Function that establishes a socket connection to the BCVTB.For the xml file name, on Windows use two backslashes to separate directories, i.e., use
xmlFileName="C:\\examples\\dymola-room\\socket.cfg"
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | xmlFileName | "socket.cfg" | Name of xml file that contains the socket information |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | socketFD | Socket file descripter, or a negative value if an error occurred |
Revisions
-
May 5, 2009, by Michael Wetter:
First implementation.