...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiGetClientNames(SdaiClientId clientId,
SdaiString *hostName,
SdaiString *clientName);
|
Reads the defined client name for a given client Id.
...
All clients that connect to an EDM Server will have assigned a unique numeric client Id. Defining a client name, however, is optional. If defined, this function will return the client name. The host name will also be returned.
...
Arguments
...
Type | Name | Comment |
SdaiClientId | clientId | The unique numeric id that identifies the connected client. |
SdaiString | *hostName | Address of a string pointer that will receive the host name at which the client process is running. |
SdaiString | *clientName | Address of a string that will receive the optionally defined client name of the client process. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
EdmiError rstat;
SdaiClientId clientId;
SdaiString hostName;
SdaiString clientName;
. . .
if (rstat = edmiGetClientNames(clientId, hostName, &clientName)) {
printf("\nError %d in edmiGetClientNames: %s", rstat,
edmiGetErrorText(rstat));
goto error:
} |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|