Skip to content

Commit

Permalink
comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed May 31, 2011
1 parent b001c8a commit 6d99fca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Test/TCP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ our @EXPORT = qw/ empty_port test_tcp wait_port /;
# process does not die when received SIGTERM, on win32.
my $TERMSIG = $^O eq 'MSWin32' ? 'KILL' : 'TERM';

# get a empty port on 49152 .. 65535
# http://www.iana.org/assignments/port-numbers
sub empty_port {
my $port = do {
if (@_) {
Expand Down

0 comments on commit 6d99fca

Please sign in to comment.