port

Specify the socket port number of the MobiLink server.

Syntax
port=port-number
Protocols
Default

For TCP/IP, the default is 2439, which is the IANA-registered port number for the MobiLink server.

For HTTP, the default is 80.

For HTTPS, the default is 443.

Remarks

The port number must be a decimal number that matches the port the MobiLink server is set up to listen on.

If you are synchronizing through a web server, specify the web server port accepting HTTP or HTTPS requests.

For information about how to set network protocol options with dbmlsync, see CommunicationAddress (adr) extended option.

For information about how to set network protocol options with UltraLite, see Network protocol options for UltraLite synchronization streams.

Example

In the following example, the client connects to a computer called myhost at port 1234.

On a SQL Anywhere client, the implementation is:

dbmlsync -e "adr='host=myhost;port=1234'"

In an UltraLite application written in embedded SQL or C++, the implementation is:

synch_info.stream_parms = TEXT("host=myhost;port=1234");