Home | History | Annotate | Download | only in misc

Lines Matching refs:find_free_port

156 # a single port, see the fixed port scheme $find_free_port = 'fixed:5910'
248 # Set find_free_port to 1 (or the other modes described below) to
252 my $find_free_port = 0;
256 #$find_free_port = '7000-8000';
262 #$find_free_port = 'fixed:5910';
264 # This is the starting port for 7000 + uid and also $find_free_port = 1
471 # $find_free_port = 'fixed:5999';
706 if (! $find_free_port) {
711 } elsif ($find_free_port =~ /^fixed:(\d+)$/) {
719 # supplied range. (note that $find_free_port will now contain
890 close $find_free_port if $find_free_port;
956 # is kept open (and stored in $find_free_port) until we call x11vnc at
963 if ($find_free_port =~ /^(\d+)-(\d+)$/) {
970 } elsif ($find_free_port > 1024) {
972 $pmin = $find_free_port;
1010 $find_free_port = $sock;
1205 $find_free_port = $sock;
1300 } elsif ($find_free_port eq '0') {
1302 eval {$find_free_port = IO::Socket::INET6->new(
1311 $find_free_port = IO::Socket::INET->new(
1319 # In all cases, at this point $find_free_port is the listening
1347 close $find_free_port;
1438 $SIG{ALRM} = sub {close $find_free_port; exit 0};
1445 my ($client, $ip) = $find_free_port->accept();
1449 close $find_free_port;