int __stdcall SME_ModuleByIP ( SME_HANDLE  handle,
char *  ipAddress 
)

Advances the internal pointer to the first discovered module whose IP address matches the parameter.

Parameters
[in]handleValid handle returned by SME_Initialize().
[in]ipAddress
Return values
0Successful completion.
-1Invalid SME_Initialize handle.
-2No modules have been found. See SME_SearchForModules().
-3Could not locate named module.
-4Invalid IP address parameter.

Attempts to search for the first module whose IP address matches the 'ipAddress' parameter. If SME_ModuleByIP fails, the currently select module (if any) remains selected.

Note
The ipAddress parameter should be null terminated.

Referenced by CCEthernet::set_information().

 
 
Generated on Mon Nov 26 2018.