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()
- 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.
Vyacheslav Matyukhin <mmcleric@yandex-team.ru>
This software is copyright (c) 2015 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.