Set telnet IP address
This commit is contained in:
parent
65d2de6801
commit
17a9416607
@ -49,7 +49,7 @@ def main(nodeip, luafile, volatile=None):
|
|||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
s.connect((nodeip, 80))
|
s.connect((nodeip, 23))
|
||||||
time.sleep(0.050)
|
time.sleep(0.050)
|
||||||
s.sendall("\n")
|
s.sendall("\n")
|
||||||
# Receive the hello Message of answer of the ESP
|
# Receive the hello Message of answer of the ESP
|
||||||
|
Loading…
Reference in New Issue
Block a user