Nicholas J Humfrey > Net-LibLO-0.06 > Net::LibLO::Address

Download:
Net-LibLO-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

NAME ^

Net::LibLO::Address

SYNOPSIS ^

  use Net::LibLO::Address;

  my $addr = new Net::LibLO::Address( 'localhost', 3340 );
  my $port = $addr->get_port();
  my $hostname = $addr->get_hostname();

DESCRIPTION ^

Net::LibLO::Address is a perl class which represents an address to send messages to

new( hostname, port )

Create a new OSC address, from a hostname and port

new( port )

Create a new OSC address, from port. Localhost is assumed.

new( url )

Create a new OSC address, from a URL

get_hostname( )

Returns the hostname portion of an OSC address.

get_port( )

Returns the port portion of an OSC address.

get_url( )

Returns the URL for an OSC address.

errno( )

Return the error number from the last failure.

errstr( )

Return the error string from the last failure.

AUTHOR ^

Nicholas J. Humfrey, njh@aelius.com

COPYRIGHT AND LICENSE ^

Copyright (C) 2005 Nicholas J. Humfrey

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

syntax highlighting: