GetSchemeDefaultPort (open)

Returns the default port for an URL scheme

Syntax

LOADLIB "wh::internet/urls.whlib";

INTEGER FUNCTION GetSchemeDefaultPort(STRING scheme)

Parameters

STRING scheme

URL scheme (eg 'ftp', 'http')

Return value

INTEGER

Default port number for the scheme