Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLiteJ » UltraLiteJ 参考 » UltraLiteJ API 参考 » StreamHTTPParms 接口

 

setPort 方法

设置用于连接 MobiLink 服务器的端口号。

语法
void StreamHTTPParms.setPort(
  int v
)
参数
  • v   范围在 1 到 65535 之间的端口号。若超出此范围该值将还原为缺省值。

注释

对于 HTTP 同步,缺省端口为 80;对于 HTTPS 同步,缺省端口为 443。

另请参见