Gentee Programming Language > Documentation > Libraries Download documentation

inet_proxy

The functions allows you to specify a proxy server to be used for connecting to the Internet.
 
uint inet_proxy(
      uint   flag,
      str   proxyname
)

Parameters

flagThe flag specifying for which protocols the specified proxy should be used.
$PROXY_HTTPUse a proxy server for the HTTP protocol
$PROXY_FTPUse a proxy server for the FTP protocol
$PROXY_ALLUse a proxy server for all protocols
$PROXY_EXPLORERTake the proxy server information from the Internet Explorer settings. In this case the proxyname parameter can be empty.
proxynameThe name of the proxy server. It must contain a host name and a port number separated by a colon.

Return value

Nonzero if initialization was successful; otherwise 0.

See also

    Internet


 Copyright © 2004-2006 Gentee Inc. All rights reserved.