mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-15 05:08:26 +00:00
update
This commit is contained in:
parent
ec8ab06c66
commit
7095887bad
@ -8,6 +8,5 @@ my $socket = IO::Socket::Multicast->new( LocalPort => $port, ReuseAddr => 1 );
|
|||||||
$socket->mcast_add($ip);
|
$socket->mcast_add($ip);
|
||||||
|
|
||||||
while($socket->recv($data,1024)) {
|
while($socket->recv($data,1024)) {
|
||||||
$data =~ s/^.{8}//;
|
|
||||||
print $data;
|
print $data;
|
||||||
}
|
}
|
||||||
|
@ -13,5 +13,5 @@ $/ = undef;
|
|||||||
my $buf = <I>;
|
my $buf = <I>;
|
||||||
close(I);
|
close(I);
|
||||||
|
|
||||||
$socket->send("00000000$buf\n");
|
$socket->send("$buf\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user