int __stdcall SME_SearchForModules ( SME_HANDLE  handle)

Attempts to discover all reachable Sealevel I/O Ethernet modules via a UDP broadcast.

[in]handleValid handle returned by SME_Initialize().
Return values
>=0Success. Number of found modules.
-1Invalid SME_Initialize handle.
-2Error acquiring a free socket.
-3Error obtaining a list of local network interfaces.
-4Error binding to socket.
-5Error setting broadcast option.
-6Error setting receive timeouts.
-7Error sending broadcast message over interface.

Referenced by CCEthernet::find_devices().

Generated on Mon Nov 26 2018.