Develop > Programming Guide > System Language reference > List: RAD functions > RAD function: sysinfo.get("ServerNetPort")

RAD function: sysinfo.get("ServerNetPort")

A RAD function that returns the Service Manager server port used by the connected client or the system name when called by a background process.

Function

sysinfo.get("ServerNetPort")

Format

$info=sysinfo.get("ServerNetPort")

Factors

Returns either the port number or the service name, as specified .

Examples

The system started with:

sm –httpPort:12932

A connected client issuing this RAD function returns 12932.

The system started with:

sm –-httpPort:scport1

A connected client issuing this RAD function returns scport1.