Searched refs:listen_sock (Results 1 – 3 of 3) sorted by relevance
/external/libvncserver/x11vnc/misc/ |
D | inet6to4 | 65 my $listen_sock = ''; # declared here for get_out() 69 close $listen_sock if $listen_sock; 228 $listen_sock = IO::Socket::INET6->new(%opts); 230 $listen_sock = IO::Socket::INET->new(%opts); 231 if (! $listen_sock && $! =~ /invalid/i) { 234 $listen_sock = IO::Socket::INET6->new(%opts); 237 if (! $listen_sock) { 259 my ($client, $ip) = $listen_sock->accept(); 289 close $listen_sock;
|
D | connect_switch | 109 my $listen_sock = ''; # declared here for get_out() 113 close $listen_sock if $listen_sock; 388 $listen_sock = IO::Socket::INET->new( 397 if (! $listen_sock) { 413 my ($client, $ip) = $listen_sock->accept(); 427 close $listen_sock;
|
/external/openssh/ |
D | sshd.c | 1149 int ret, listen_sock, on = 1; local 1167 listen_sock = socket(ai->ai_family, ai->ai_socktype, 1169 if (listen_sock < 0) { 1174 if (set_nonblock(listen_sock) == -1) { 1175 close(listen_sock); 1182 if (setsockopt(listen_sock, SOL_SOCKET, SO_REUSEADDR, 1188 sock_set_v6only(listen_sock); 1193 if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) { 1196 close(listen_sock); 1199 listen_socks[num_listen_socks] = listen_sock; [all …]
|