docs

Home All functions Legacy functions Categories

vuNetGetProxy()

Clarion prototype

Prototype: vuNetGetProxy(*CSTRING OutProxyHost, *LONG OutProxyPort), SIGNED, PROC, PASCAL, RAW, NAME(‘vuNetGetProxy’)

Purpose

Reads current proxy host and proxy port from vuMailKit runtime globals.

Parameters

Parameter Type Description
OutProxyHost *CSTRING Output buffer receiving proxy host name/IP.
OutProxyPort *LONG Receives proxy port number.

Return value / error codes

Value Meaning
1 Success.

Example (Clarion)

rc      LONG
server  CSTRING(260)
port    LONG

CLEAR(server)
port = 0
rc = vuNetGetProxy(server, port)
IF rc = 1
  MESSAGE('Proxy=' & server & ':' & port)
ELSE
  MESSAGE('vuNetGetProxy failed: ' & rc)
END

Notes

Home All functions Legacy functions Categories