Line 26:
Line 26:
==== Functions ====
==== Functions ====
getExternalLink($timeout)
getExternalLink($timeout)
−
Bring up the external link if it is not already up, waiting at most $timeout seconds. If a $timeout is not specified, it defaults to 300 (5 minutes) for dialup connections. This function can be used for both dialup and dedicated connections, but dedicated connections will always return 1 (true).
+
Bring up the external link if it is not already up, waiting at most $timeout seconds. If a $timeout is not specified, it defaults to 300 (5 minutes) for dialup connections.
+
This function can be used for both dialup and dedicated connections, but dedicated connections will always return 1 (true).
Returns 1 if the external link is already up, or if it comes up within the specfied $timeout period.
Returns 1 if the external link is already up, or if it comes up within the specfied $timeout period.