|
QLIB-function: QAPIGetConnectionMode
Gets the current connection mode.
ULONG QAPIGetConnectionMode(
ULONG nType,
char* buffer,
ULONG buffersize);
Parameter 1
| nType |
Reserved; must be zero. |
Parameter 2:
| buffer |
Pointer to a buffer that receives the null-terminated string that specifies the
formatted message or NULL |
Parameter 3:
| buffersize |
This parameter specifies the size of the output buffer, in chars or NULL. |
Return value
If the function succeeds, the return value is the connection mode = 0 (local) or = 1 (remote)
Commands
f the parameter buffer and buffersize are not NULL and large enough the output buffer received the connection mode as string. If the mode is local it receives "local" and if the mode is remote the string contains the IP address and port number as string (I.e. "192.168.5.1:5999" )
Back to the QLIB overview
|