PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_Traceroute » Manual

Class Summary Net_Traceroute

Class Summary Net_Traceroute – Wrapper class for traceroute calls

Wrapper class for traceroute calls

This package is not documented yet.

Class Trees for Net_Traceroute

Net_Traceroute::factory

Net_Traceroute::factory() – Factory for Net_Traceroute

Synopsis

require_once '/Traceroute.php';

object Net_Traceroute Net_Traceroute::factory ( )

Description

Call this method to create a new instance of Net_Traceroute

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Net_Traceroute::setArgs

Net_Traceroute::setArgs() – Set the arguments array

Synopsis

require_once '/Traceroute.php';

mixed Net_Traceroute::setArgs ( array $args )

Description

This package is not documented yet.

Parameter

array $args

Hash with options

Return value

returns true or PEAR_error

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Net_Traceroute::traceroute

Net_Traceroute::traceroute() – Execute traceroute

Synopsis

require_once '/Traceroute.php';

object Net_Traceroute_Result Net_Traceroute::traceroute ( string $host )

Description

This package is not documented yet.

Parameter

string $host

hostname or IP of destination

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Class Summary Net_Traceroute_Result

Class Summary Net_Traceroute_Result – Container class for Net_Traceroute results

Container class for Net_Traceroute results

This package is not documented yet.

Class Trees for Net_Traceroute_Result

Net_Traceroute_Result::factory

Net_Traceroute_Result::factory() – Factory for Net_Traceroute_Result

Synopsis

require_once '/Traceroute.php';

void Net_Traceroute_Result::factory ( array $result , string $sysname )

Description

This package is not documented yet.

Parameter

array $result

Net_Traceroute result

string $sysname

OS_Guess::sysname

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Net_Traceroute_Result::getHops

Net_Traceroute_Result::getHops() – Returns hops from parsed result

Synopsis

require_once '/Traceroute.php';

array Net_Traceroute_Result::getHops ( )

Description

This package is not documented yet.

Return value

returns Hops

Throws

throws no exceptions thrown

See

see _hops

Note

This function can not be called statically.

Net_Traceroute_Result::getRawData

Net_Traceroute_Result::getRawData() – Returns raw data that was returned by traceroute

Synopsis

require_once '/Traceroute.php';

array Net_Traceroute_Result::getRawData ( )

Description

This package is not documented yet.

Return value

returns raw data

Throws

throws no exceptions thrown

See

see _raw_data

Note

This function can not be called statically.

Net_Traceroute_Result::getSystemName

Net_Traceroute_Result::getSystemName() – Returns sysname that was "guessed" (OS on which class is running)

Synopsis

require_once '/Traceroute.php';

string Net_Traceroute_Result::getSystemName ( )

Description

This package is not documented yet.

Return value

returns OS_Guess::sysname

Throws

throws no exceptions thrown

See

see _sysname

Note

This function can not be called statically.

Net_Traceroute_Result::getTargetIp

Net_Traceroute_Result::getTargetIp() – Returns the target IP from parsed result

Synopsis

require_once '/Traceroute.php';

string Net_Traceroute_Result::getTargetIp ( )

Description

This package is not documented yet.

Return value

returns IP address

Throws

throws no exceptions thrown

See

see _target_ip

Note

This function can not be called statically.

Net_Traceroute_Result::getTTL

Net_Traceroute_Result::getTTL() – Returns TTL from parsed result

Synopsis

require_once '/Traceroute.php';

int Net_Traceroute_Result::getTTL ( )

Description

This package is not documented yet.

Return value

returns TTL

Throws

throws no exceptions thrown

See

see _ttl

Note

This function can not be called statically.

Net_Traceroute_Result::getValue

Net_Traceroute_Result::getValue() – Returns a Traceroute_Result property

Synopsis

require_once '/Traceroute.php';

mixed Net_Traceroute_Result::getValue ( string $name )

Description

This package is not documented yet.

Parameter

string $name

property name

Return value

returns property value

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Package Net_Traceroute Constants

Package Net_Traceroute Constants – Constants defined in and used by Net_Traceroute

All Constants

Constants defined in Traceroute.php

Name Value Line Number
NET_TRACEROUTE_CANT_LOCATE_TRACEROUTE_BINARY 3 57
NET_TRACEROUTE_CANT_LOCATE_TRACEROUTE_BINARY_MSG 'unable to locate the traceroute binary' 51
NET_TRACEROUTE_FAILED   54
NET_TRACEROUTE_FAILED_MSG 'execution of traceroute failed' 48
NET_TRACEROUTE_HOST_NOT_FOUND 1 55
NET_TRACEROUTE_HOST_NOT_FOUND_MSG 'unknown host' 49
NET_TRACEROUTE_INVALID_ARGUMENTS 2 56
NET_TRACEROUTE_INVALID_ARGUMENTS_MSG 'invalid argument array' 50
NET_TRACEROUTE_RESULT_UNSUPPORTED_BACKEND 4 58
NET_TRACEROUTE_RESULT_UNSUPPORTED_BACKEND_MSG 'Backend not Supported' 52