Back to Sealevel      

int SME_ModuleByIP ( SME_HANDLE  handle,
char *  ipAddress 
)

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

Parameters:
[in] handle Valid handle returned by SME_Initialize().
[in] ipAddress 
Return values:
0 Successful completion.
-1 Invalid SME_Initialize handle.
-2 No modules have been found. See SME_SearchForModules().
-3 Could not locate named module.
-4 Invalid 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.

 
 
Generated on 18 Sep 2007.