projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nominally working wsjtl with tcp listener
[spider.git]
/
perl
/
DXUDP.pm
diff --git
a/perl/DXUDP.pm
b/perl/DXUDP.pm
index d9dda00cdbce80c7c5462965fffe28e1c8a22fc6..01c3b3b0339e4e37dc353d9e469b2426bb353cbd 100644
(file)
--- a/
perl/DXUDP.pm
+++ b/
perl/DXUDP.pm
@@
-140,6
+140,8
@@
sub _incoming {
$self->emit(read => $datagram);
}
$self->emit(read => $datagram);
}
+has peerhost => sub { return $_[0]->{socket}->peerhost };
+has peerport => sub { return $_[0]->{socket}->peerport };
sub DEMOLISH {
my $self = shift;
sub DEMOLISH {
my $self = shift;