Ubic::PortMap - update and read mapping of ports to service names.
use Ubic::PortMap; Ubic::PortMap::update(); print Ubic::PortMap::port2name(12345); # ubic.ping
This is considered to be a non-public class. Its interface is subject to change without notice.
Update portmap file.
Get service by port.
If there are several services with one port, it will try to find enabled service among them.
Vyacheslav Matyukhin <email@example.com>
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.