Home
last modified time | relevance | path

Searched refs:SOCK_STREAM (Results 1 – 25 of 31) sorted by relevance

12

/AliOS-Things-master/components/mbedtls/platform/yoc/
A Dnet_sockets.c85 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_connect()
137 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_bind()
240 ( type != SOCK_STREAM && type != SOCK_DGRAM ) ) { in mbedtls_net_accept()
244 if ( type == SOCK_STREAM ) { in mbedtls_net_accept()
267 if ( type != SOCK_STREAM ) { in mbedtls_net_accept()
/AliOS-Things-master/components/mbedtls/library/
A Dnet_sockets.c159 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_connect()
206 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_bind()
333 ( type != SOCK_STREAM && type != SOCK_DGRAM ) ) in mbedtls_net_accept()
338 if( type == SOCK_STREAM ) in mbedtls_net_accept()
372 if( type != SOCK_STREAM ) in mbedtls_net_accept()
/AliOS-Things-master/components/amp-utility/python/
A Dusocket.py14 SOCK_STREAM = 2 variable
/AliOS-Things-master/components/mqtt/MQTTClient-C/
A DMQTTLinux.c118 int type = SOCK_STREAM; in NetworkConnect()
123 struct addrinfo hints = {0, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP, 0, NULL, NULL, NULL}; in NetworkConnect()
/AliOS-Things-master/components/py_engine/tests/multi_net/
A Dtcp_client_rst.py49 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM, 0)
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/sendfile/
A Dsendfile.c130 sockfd = lwip_socket(AF_INET,SOCK_STREAM,0); in sendfile_client()
242 sockfd = lwip_socket(AF_INET, SOCK_STREAM, 0); in sendfile_server_thread()
/AliOS-Things-master/components/mbedtls/programs/ssl/
A Dmini_client.c266 if( ( server_fd.fd = socket( AF_INET, SOCK_STREAM, 0 ) ) < 0 ) in main()
/AliOS-Things-master/components/amp_adapter/platform/aos/network/
A Daos_tcp.c55 hints.ai_socktype = SOCK_STREAM; in aos_tcp_establish()
/AliOS-Things-master/components/py_engine/engine/extmod/uasyncio/
A Dstream.py82 ai = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM)[0] # TODO this is blocking!
/AliOS-Things-master/components/linksdk/portfiles/aiot_port/
A Daos_port.c368 … AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP, network_handle->connect_timeout_ms, &network_handle->fd); in _core_sysdep_network_tcp_establish()
372 … AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP, network_handle->connect_timeout_ms, &network_handle->fd); in _core_sysdep_network_tcp_establish()
491 …AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP, network_handle->connect_timeout_ms, &network_handle->mbedtls.… in _core_sysdep_network_mbedtls_establish()
501 …AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP, network_handle->connect_timeout_ms, &network_handle->mbedtls.… in _core_sysdep_network_mbedtls_establish()
/AliOS-Things-master/components/mbedtls/platform/aos/library/
A Dnet_sockets.c208 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_connect()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodsocket.c216 .ai_socktype = SOCK_STREAM, in _socket_getaddrinfo2()
267 sock->type = SOCK_STREAM; in socket_make_new()
941 { MP_ROM_QSTR(MP_QSTR_SOCK_STREAM), MP_ROM_INT(SOCK_STREAM) },
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodsocket.c224 .ai_socktype = SOCK_STREAM, in _socket_getaddrinfo2()
279 sock->type = SOCK_STREAM; in socket_make_new()
989 { MP_ROM_QSTR(MP_QSTR_SOCK_STREAM), MP_ROM_INT(SOCK_STREAM) },
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodsocket.c211 .ai_socktype = SOCK_STREAM, in _socket_getaddrinfo2()
259 sock->type = SOCK_STREAM; in socket_make_new()
910 { MP_ROM_QSTR(MP_QSTR_SOCK_STREAM), MP_ROM_INT(SOCK_STREAM) },
/AliOS-Things-master/components/py_engine/engine/tools/
A Dupip.py136 ai = usocket.getaddrinfo(host, port, 0, usocket.SOCK_STREAM)
/AliOS-Things-master/components/linkkit/wrappers/os/
A DHAL_TLS_itls.c113 proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_connect_timeout()
/AliOS-Things-master/components/netmgr/activation/
A Dactivation.c296 hints.ai_socktype = SOCK_STREAM; in activation_report()
/AliOS-Things-master/components/linkkit/wrappers/platform/ssl/
A DHAL_DTLS_mbedtls.c78 proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in _net_connect()
A DHAL_TLS_mbedtls.c68 proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in _net_connect()
/AliOS-Things-master/components/http/src/
A Dhttp_aos_wrapper.c57 hints.ai_socktype = SOCK_STREAM; in http_tcp_conn_wrapper()
/AliOS-Things-master/components/uvoice/stream/
A Duvoice_ssl.c228 proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_connect_timeout()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/ping/
A Dping.c492 hints.ai_socktype = SOCK_STREAM; in ping_run()
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/
A Dsockets.h174 #define SOCK_STREAM 1 macro
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/
A Dsockets.h165 #define SOCK_STREAM 1 macro
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/iperf/
A Diperf_task.c515 if ( (listenfd = lwip_socket( AF_INET, SOCK_STREAM, 0 )) < 0 ) { in iperf_tcp_run_server()
731 if ( (sockfd = lwip_socket( AF_INET, SOCK_STREAM, 0 )) < 0 ) { in iperf_tcp_run_client()

Completed in 50 milliseconds

12