mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-18 04:52:18 +02:00
examples/protocols/asio: use common network component
* Original commit: espressif/esp-idf@aa4a7804ec
This commit is contained in:
committed by
gabsuren
parent
de830e51d4
commit
3e7591e92a
@ -40,7 +40,7 @@ def test_examples_protocol_asio_chat_server(env, extra_data):
|
||||
# 3. create tcp client and connect to server
|
||||
cli = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
cli.settimeout(30)
|
||||
cli.connect((data[0],80))
|
||||
cli.connect((data[0], 2222))
|
||||
cli.send(test_msg)
|
||||
data = cli.recv(1024)
|
||||
# 4. check the message received back from the server
|
||||
|
Reference in New Issue
Block a user