use Net::LibLO::Address; my $addr = new Net::LibLO::Address( 'localhost', 3340 ); my $port = $addr->get_port(); my $hostname = $addr->get_hostname();
Net::LibLO::Address is a perl class which represents an address to send messages to
Create a new OSC address, from a hostname and port
Create a new OSC address, from port. Localhost is assumed.
Create a new OSC address, from a URL
Returns the hostname portion of an OSC address.
Returns the port portion of an OSC address.
Returns the URL for an OSC address.
Return the error number from the last failure.
Return the error string from the last failure.
Nicholas J. Humfrey, email@example.com
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.