Fandom

Livecode Wiki

DefaultNetworkInterface

2,161pages on
this wiki
Add New Page
Comments0 Share

Determines which network interface should be used for socketed and HTTP connections.Syntax:

set the defaultNetworkInterface to <networkInterface>

Examples:

set the defaultNetworkInterface to "192.168.1.10"

Use the defaultNetworkInterface property on all desktop and server platforms to specify which network interface should be used for socketed and HTTP connections. This is useful if you have SSL certificates bound to a particular IP address.

If the defaultNetworkInterface is empty, the standard interface is used.

SSL certificates are bound to a particular IP address. If your device has multiple network interfaces, to utilize your SSL certificate set the defaultNetworkInterface to the address specified in the certificate.

Parameters:

  • networkInterface: An IPv4 address as a string. For example: "192.168.1.10"
  • The result: If the defaultNetworkInterface is not valid interface, an error ispresent in the result of the connection attempt.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.