summaryrefslogtreecommitdiff
path: root/test/regression/interoperability_test/nx_secure_test/test_scripts/tcp_test.py
blob: 7ad89c29f4aeb6aa5a93a95032f181298b258e81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/python
##############################################################################
# Copyright (c) 2024 Microsoft Corporation
# Copyright (c) 2026 Eclipse ThreadX contributors
#
# This program and the accompanying materials are made available under the
# terms of the MIT License which is available at
# https://opensource.org/licenses/MIT.
#
# SPDX-License-Identifier: MIT
##############################################################################


import socket

sock = socket.socket( socket.AF_INET, socket.SOCK_STREAM)
conn = sock.connect( ("10.0.0.1", 8888))
sock.close()