Home
last modified time | relevance | path

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

/NetX-Duo-v6.3.0/samples/
Ddemo_bsd_tcp.c213 sock_tcp_server = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in thread_server_entry()
215 sock_tcp_server = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in thread_server_entry()
462 sock_tcp_client = socket( AF_INET6, SOCK_STREAM, IPPROTO_TCP); in thread_client_entry()
464 sock_tcp_client = socket( AF_INET, SOCK_STREAM, IPPROTO_TCP); in thread_client_entry()
/NetX-Duo-v6.3.0/addons/BSD/
Dnxd_bsd.c767 if ((type != SOCK_STREAM) && (type != SOCK_DGRAM) && (type != SOCK_RAW)) in nx_bsd_socket()
769 if ((type != SOCK_STREAM) && (type != SOCK_DGRAM)) in nx_bsd_socket()
897 if ((type == SOCK_STREAM) || (type == SOCK_DGRAM)) in nx_bsd_socket()
927 if (type == SOCK_STREAM) in nx_bsd_socket()
1180 if ((type == SOCK_DGRAM) || (type == SOCK_STREAM)) in nx_bsd_socket()
10674 …secondary_sockID = nx_bsd_socket((INT)(master_socket_ptr -> nx_bsd_socket_family), SOCK_STREAM, I… in nx_bsd_tcp_create_listen_socket()
13849 (hints -> ai_socktype != SOCK_STREAM) && in nx_bsd_getaddrinfo()
13856 if(((hints -> ai_socktype == SOCK_STREAM) && (hints -> ai_protocol != IPPROTO_TCP)) || in nx_bsd_getaddrinfo()
13880 match_service_socktype[0] = SOCK_STREAM; in nx_bsd_getaddrinfo()
13896 match_service_socktype[0] = SOCK_STREAM; in nx_bsd_getaddrinfo()
[all …]
Dnxd_bsd.h296 #define SOCK_STREAM 1 /* TCP Socket … macro