Refactor: Skip socket resolution, load device hostname/IP directly from file
- Remove socket.gethostname() and socket.gethostbyname() calls - Device info now loads exclusively from device_info.txt - Device hostname and IP are independent of server hostname - Resolves DNS/socket errors on startup - Device info file is primary config source for device identity
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
TestLinux
|
||||
127.0.1.1
|
||||
RPI-Device
|
||||
192.168.1.100
|
||||
|
||||
Reference in New Issue
Block a user