#
# Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
use strict;
# Ignore SIGPIPE so we won't fail if peer closes a TCP socket early
# Flush logged output after every line
local $| = 1;
my $server_addr = "10.53.0.4";
if (@ARGV > 0) {
}
print "listening on $server_addr:5300.\n";
$pidf->close or die "cannot close pid file: $!";;
# Main
for (;;) {
my $rin;
my $rout;
$rin = '';
printf "UDP request\n";
my $buf;
}
}