int CCEthernet::find_devices ( ceth_device_type  type_to_find,
int  number_to_find,
ceth_device_p  list_to_store_devices 
)

Locates all SeaIO Ethernet modules on the local subnet.

Deprecated:
Version 2.x
Parameters
[in]type_to_findCan be only be the values SeaIO_Ethernet or Sealevel_All_Devices.
[in]number_to_findMaximum number of devices to find.
[in,out]list_to_store_devicesInteger pointer provided by Alloc().
Return values
>0Number of devices found.
-100XXSocket error. Refer to Winsock documentation for error code.
Note
The number_to_find parameter must be less than or equal to the parameter provided to Alloc() when first creating the device list.
Warning
Alloc() must be explicitly called before calling find_devices().
Note
The following are deviations from SeaMAX v2:
  • Ignores the type_to_find parameter and locates only Sealevel I/O devices (SeaIO_Ethernet).
  • Returns (-10000 + SME_SearchForModules() result) on failure to search for modules.

References SME_GetDHCPConfig(), SME_GetMACAddress(), SME_GetName(), SME_GetNetworkConfig(), SME_GetType(), SME_NextModule(), and SME_SearchForModules().

 
 
Generated on Mon Nov 26 2018.