Vyacheslav Matyukhin > Ubic-1.47 > Ubic::PortMap

Download:
Ubic-1.47.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.47   Source   Latest Release: Ubic-1.57_01

NAME ^

Ubic::PortMap - update and read mapping of ports to service names.

VERSION ^

version 1.47

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) 2012 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.

syntax highlighting: