Home
last modified time | relevance | path

Searched refs:_socket (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/websocket/example/
A Dwebsocket_example.c72 static rws_socket _socket = NULL; variable
158 _socket = NULL; in on_socket_disconnected()
174 if (_socket) { in websoc_cli_test_int()
184 rws_socket_set_scheme(_socket, scheme); in websoc_cli_test_int()
185 rws_socket_set_host(_socket, host); in websoc_cli_test_int()
186 rws_socket_set_path(_socket, path); in websoc_cli_test_int()
187 rws_socket_set_port(_socket, port); in websoc_cli_test_int()
201 rws_socket_connect(_socket); in websoc_cli_test_int()
287 if (_socket) { in websoc_cli_test_int()
288 rws_socket_disconnect_and_release(_socket); in websoc_cli_test_int()
[all …]
/AliOS-Things-master/components/py_engine/tests/net_inet/
A Dtest_tls_sites.py2 import usocket as _socket namespace
4 import _socket
15 ai = _socket.getaddrinfo(site, 443)
18 s = _socket.socket()

Completed in 5 milliseconds