Home
last modified time | relevance | path

Searched refs:listener (Results 1 – 6 of 6) sorted by relevance

/curl/lib/
H A Dsocketpair.c138 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 Dmqttd.c804 srvr_sockaddr_union_t listener; in sockdaemon() local
853 memset(&listener.sa4, 0, sizeof(listener.sa4)); in sockdaemon()
854 listener.sa4.sin_family = AF_INET; in sockdaemon()
855 listener.sa4.sin_addr.s_addr = INADDR_ANY; in sockdaemon()
856 listener.sa4.sin_port = htons(*listenport); in sockdaemon()
857 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); in sockdaemon()
861 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon()
862 listener.sa6.sin6_family = AF_INET6; in sockdaemon()
863 listener.sa6.sin6_addr = in6addr_any; in sockdaemon()
864 listener.sa6.sin6_port = htons(*listenport); in sockdaemon()
[all …]
H A Dsocksd.c832 srvr_sockaddr_union_t listener; in sockdaemon() local
882 memset(&listener.sa4, 0, sizeof(listener.sa4)); in sockdaemon()
883 listener.sa4.sin_family = AF_INET; in sockdaemon()
884 listener.sa4.sin_addr.s_addr = INADDR_ANY; in sockdaemon()
885 listener.sa4.sin_port = htons(*listenport); in sockdaemon()
886 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); in sockdaemon()
890 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon()
891 listener.sa6.sin6_family = AF_INET6; in sockdaemon()
892 listener.sa6.sin6_addr = in6addr_any; in sockdaemon()
893 listener.sa6.sin6_port = htons(*listenport); in sockdaemon()
[all …]
H A Dsockfilt.c1245 srvr_sockaddr_union_t listener; in sockdaemon() local
1296 memset(&listener.sa4, 0, sizeof(listener.sa4)); in sockdaemon()
1297 listener.sa4.sin_family = AF_INET; in sockdaemon()
1298 listener.sa4.sin_addr.s_addr = INADDR_ANY; in sockdaemon()
1299 listener.sa4.sin_port = htons(*listenport); in sockdaemon()
1300 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); in sockdaemon()
1304 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon()
1305 listener.sa6.sin6_family = AF_INET6; in sockdaemon()
1306 listener.sa6.sin6_addr = in6addr_any; in sockdaemon()
1307 listener.sa6.sin6_port = htons(*listenport); in sockdaemon()
[all …]
/curl/tests/data/
H A Dtest50432 simple multi through local proxy without listener
/curl/docs/cmdline-opts/
H A Dftp-port.md23 Reverses the default initiator/listener roles when connecting with FTP. This

Completed in 19 milliseconds