Locates all SeaIO Ethernet modules on the local subnet.
- Deprecated:
- Version 2.x
- Parameters
-
[in] | type_to_find | Can be only be the values SeaIO_Ethernet or Sealevel_All_Devices. |
[in] | number_to_find | Maximum number of devices to find. |
[in,out] | list_to_store_devices | Integer pointer provided by Alloc(). |
- Return values
-
>0 | Number of devices found. |
-100XX | Socket 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().