Searched refs:listener (Results 1 – 6 of 6) sorted by relevance
/curl/lib/ |
H A D | socketpair.c | 138 curl_socket_t listener; in Curl_socketpair() local 147 if(listener == CURL_SOCKET_BAD) in Curl_socketpair() 169 if(setsockopt(listener, SOL_SOCKET, SO_REUSEADDR, in Curl_socketpair() 173 if(bind(listener, &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair() 175 if(getsockname(listener, &a.addr, &addrlen) == -1 || in Curl_socketpair() 178 if(listen(listener, 1) == -1) in Curl_socketpair() 187 if(curlx_nonblock(listener, TRUE) < 0) in Curl_socketpair() 189 pfd[0].fd = listener; in Curl_socketpair() 193 socks[1] = accept(listener, NULL, NULL); in Curl_socketpair() 254 sclose(listener); in Curl_socketpair() [all …]
|
/curl/tests/server/ |
H A D | mqttd.c | 795 srvr_sockaddr_union_t listener; in sockdaemon() local 844 memset(&listener.sa4, 0, sizeof(listener.sa4)); in sockdaemon() 845 listener.sa4.sin_family = AF_INET; in sockdaemon() 846 listener.sa4.sin_addr.s_addr = INADDR_ANY; in sockdaemon() 847 listener.sa4.sin_port = htons(*listenport); in sockdaemon() 848 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); in sockdaemon() 852 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon() 853 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 854 listener.sa6.sin6_addr = in6addr_any; in sockdaemon() 855 listener.sa6.sin6_port = htons(*listenport); in sockdaemon() [all …]
|
H A D | socksd.c | 809 srvr_sockaddr_union_t listener; in sockdaemon() local 859 memset(&listener.sa4, 0, sizeof(listener.sa4)); in sockdaemon() 860 listener.sa4.sin_family = AF_INET; in sockdaemon() 861 listener.sa4.sin_addr.s_addr = INADDR_ANY; in sockdaemon() 862 listener.sa4.sin_port = htons(*listenport); in sockdaemon() 863 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); in sockdaemon() 867 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon() 868 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 869 listener.sa6.sin6_addr = in6addr_any; in sockdaemon() 870 listener.sa6.sin6_port = htons(*listenport); in sockdaemon() [all …]
|
H A D | sockfilt.c | 1215 srvr_sockaddr_union_t listener; in sockdaemon() local 1266 memset(&listener.sa4, 0, sizeof(listener.sa4)); in sockdaemon() 1267 listener.sa4.sin_family = AF_INET; in sockdaemon() 1268 listener.sa4.sin_addr.s_addr = INADDR_ANY; in sockdaemon() 1269 listener.sa4.sin_port = htons(*listenport); in sockdaemon() 1270 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); in sockdaemon() 1274 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon() 1275 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 1276 listener.sa6.sin6_addr = in6addr_any; in sockdaemon() 1277 listener.sa6.sin6_port = htons(*listenport); in sockdaemon() [all …]
|
/curl/tests/data/ |
H A D | test504 | 32 simple multi through local proxy without listener
|
/curl/docs/cmdline-opts/ |
H A D | ftp-port.md | 23 Reverses the default initiator/listener roles when connecting with FTP. This
|
Completed in 14 milliseconds