esp8266/scripts/webrepl: Print client address for incoming connections.
This commit is contained in:
parent
c888831410
commit
ef2ffc0e4e
@ -28,6 +28,7 @@ def setup_conn(port):
|
||||
def accept_conn(listen_sock):
|
||||
global client_s
|
||||
cl, remote_addr = listen_sock.accept()
|
||||
print("\nWebREPL connection from:", remote_addr)
|
||||
client_s = cl
|
||||
websocket_helper.server_handshake(cl)
|
||||
ws = websocket.websocket(cl, True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user