| Home | All functions | Legacy functions | Categories |
Prototype: vuNetGetProxy(*CSTRING OutProxyHost, *LONG OutProxyPort), SIGNED, PROC, PASCAL, RAW, NAME(‘vuNetGetProxy’)
Reads current proxy host and proxy port from vuMailKit runtime globals.
| Parameter | Type | Description | |—|—|—| | OutProxyHost | *CSTRING | Output buffer receiving proxy host name/IP. | | OutProxyPort | *LONG | Receives proxy port number. |
| Value | Meaning | |—|—| | 1 | Success. |
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
| Home | All functions | Legacy functions | Categories |