Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指定代理服务器的主机名或 IP 地址。
proxy_host=proxy-hostname-or-ip
无
仅在经过 HTTP 代理时使用。
有关如何设置 dbmlsync 网络协议选项的信息,请参见CommunicationAddress (adr) 扩展选项。
有关如何设置 UltraLite 网络协议选项的信息,请参见UltraLite 同步流的网络协议选项。
在以下示例中,客户端在端口 1234 上连接到名为 myproxyhost 的计算机上所运行的代理服务器。
在 SQL Anywhere 客户端上,实现如下:
dbmlsync -e "adr='proxy_host=myproxyhost;proxy_port=1234'"
对于以嵌入式 SQL 或 C++ 编写的 UltraLite 应用程序,实现如下:
synch_info.stream_parms = TEXT("proxy_host=myproxyhost;proxy_port=1234");