Commit Graph

4 Commits

Author SHA1 Message Date
ProtoTess c384dca68d feat: add network interface selection to WS-Discovery
- Add DiscoverOptions struct with NetworkInterface field
- Add DiscoverWithOptions() function for interface-specific discovery
- Add ListNetworkInterfaces() to enumerate available interfaces
- Add resolveNetworkInterface() helper supporting names and IPs
- Maintain full backward compatibility with existing Discover() function
- Support specifying interface by name (eth0, wlan0) or IP address
- Provide helpful error messages listing available interfaces
- Comprehensive test suite with 6 unit tests + 2 benchmarks
- Add NETWORK_INTERFACE_GUIDE.md with usage examples

This addresses issue where users with multiple active network interfaces
need to explicitly select which interface to use for WS-Discovery multicast,
as auto-detection may select the wrong one.
2025-11-17 17:28:05 +00:00
ProtoTess 7316cdfb65 test: add comprehensive tests for Device methods and discovery functionality 2025-11-11 04:35:35 +00:00
ProtoTess 7816735dad fixed linting issues 2025-10-30 02:03:34 +00:00
ProtoTess 1319e1ea3f Initial Commit 2025-10-30 00:50:27 +00:00