python test client
This commit is contained in:
parent
50ebe9a5a4
commit
0768877ea8
1 changed files with 11 additions and 0 deletions
11
ESPFirewall/app.py
Normal file
11
ESPFirewall/app.py
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
import socket
|
||||||
|
|
||||||
|
sock = socket.socket()
|
||||||
|
|
||||||
|
host = "10.93.0.246"
|
||||||
|
port = 80
|
||||||
|
|
||||||
|
sock.connect((host, port))
|
||||||
|
sock.send("test".encode())
|
||||||
|
sock.close()
|
||||||
|
|
Reference in a new issue