edmiGetCommunication
EdmiError edmiGetCommunication(SdaiString *portName, SdaiString *commProtocol, SdaiString *edmdHost, SdaiInteger *portNumber);
Returns the actual EDMinterface to EDMserver communication set-up. This operation is only applicable in a true server-client version of to EDMserver.
Arguments
Type | Name | Comment |
SdaiString | portName | Address of a variable that will receive the address of the name of the actual EDMserver service port. The actual data is located in a buffer in EDMinterface that can be overwritten in the next EDMinterface call. |
SdaiString | commProtocol | Address of a variable that will receive the address of the name of the actual communication protocol used in the EDMinterface to EDMserver communication. The actual data is located in a buffer in EDMinterface that can be overwritten in the next EDMinterface call. |
SdaiString | edmdHost | Address of a variable that will receive the host name of the system that runs the actual EDMserver . The actual data is located in a buffer in EDMinterface that can be overwritten in the next EDMinterface call. |
SdaiInteger | portNumber | Address of the variable that will receive an integer number that is the number of the port used to communicate between the EDMinterface and the EDMserver. |
Return Value
Options
Â
Example
Â
EdmiError rstat; SdaiString commProtocol, edmdHost, portName; SdaiInteger portNumber; . . . if (rstat = edmiGetCommunication (&portName, &commProtocol, &edmdHost, &portNumber)) { /* Error in operation */ printf("\nError: %s in edmiGetCommunication\n", edmiGetErrorText(rstat)); goto error; } printf("\nHost: %s \nPort: %s \nProtocol: %s \nPortNumber: %ld", edmdHost, portName, commProtocol, portNumber); . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â