projects
/
Biblio-SIP2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
846dce1
)
report server address and port
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 17 Dec 2009 00:06:42 +0000
(
01:06
+0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 17 Dec 2009 00:06:42 +0000
(
01:06
+0100)
lib/SIP2/SC.pm
patch
|
blob
|
history
diff --git
a/lib/SIP2/SC.pm
b/lib/SIP2/SC.pm
index
ca5be3f
..
e4fb42c
100644
(file)
--- a/
lib/SIP2/SC.pm
+++ b/
lib/SIP2/SC.pm
@@
-21,6
+21,7
@@
sub new {
my $class = shift;
my $self;
$self->{sock} = IO::Socket::INET->new( @_ ) || die "can't connect to ", dump(@_), ": $!";
+ warn "# connected to ", $self->{sock}->peerhost, ":", $self->{sock}->peerport, "\n";
bless $self, $class;
$self;
}