mirror of
https://github.com/uhi22/pyPLC.git
synced 2024-11-10 01:05:42 +00:00
in EvseMode show the host name, to support analysis of issue #1
This commit is contained in:
parent
ab1ef6c1e7
commit
518a0c60a2
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ class pyPlcTcpServerSocket():
|
|||
self.callbackStateNotification(1) # inform the higher level state machines, that TCP is listening
|
||||
self.addToTrace("pyPlcTcpSocket listening on port " + str(self.tcpPort))
|
||||
hostname=socket.gethostname()
|
||||
self.addToTrace(hostname)
|
||||
IPAddr=socket.gethostbyname(hostname)
|
||||
addressInfo = socket.getaddrinfo(hostname, None, socket.AF_INET6)
|
||||
#print("Your Computer Name is:"+hostname)
|
||||
|
|
Loading…
Reference in a new issue