Skip to content

Commit

Permalink
Only optionally create the TCP listener
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Maischein committed May 22, 2024
1 parent c174e08 commit dffcad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/command-submit.pl
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ ( @args )
END { unlink $domain_socket_name if $is_server };

# create domain socket for submitting more things
add_url_listener( path => $domain_socket_name );
my $id = add_url_listener( path => $domain_socket_name );
$is_server = 1;
# optionally output the domain socket name?!
# create tcp socket for submitting more things
my $id = add_url_listener( address => 'localhost' );
$id //= add_url_listener( address => 'localhost' );
# optionally write the TCP port to a file, as a shell statement (?!)
# or maybe write it to fd 3 ?
# create named pipe on Windows
Expand Down

0 comments on commit dffcad2

Please sign in to comment.