NAME
Ubic::PortMap - update and read mapping of ports to service names.
VERSION
version 1.60
SYNOPSIS
use Ubic::PortMap;
Ubic::PortMap::update();
print Ubic::PortMap::port2name(12345); # ubic.ping
INTERFACE SUPPORT
This is considered to be a non-public class. Its interface is subject to change without notice.
METHODS
- update()
-
Update portmap file.
- port2name($port)
-
Get service by port.
If there are several services with one port, it will try to find enabled service among them.
AUTHOR
Vyacheslav Matyukhin <mmcleric@yandex-team.ru>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Yandex LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.