/
edmiGetClientNames
edmiGetClientNames
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
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Example
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
There are no items with the selected labels at this time.
Related content
edmiGetClientId
edmiGetClientId
More like this
Name my server client
Name my server client
More like this
edmiDefineServerContext
edmiDefineServerContext
More like this
edmiSetInternalDataBN
edmiSetInternalDataBN
More like this
edmiGetServerFile
edmiGetServerFile
More like this
edmiGetGroup
edmiGetGroup
More like this