Broadcast protocol option [BCAST]

Specifies the IP address that should be used to send broadcast messages.

Usage

TCP/IP

Values

String, in the form of an IP address

Default

Broadcasts to all addresses on the same subnet.

Remarks

The default broadcast address is created using the local IP address and subnet mask. The subnet mask indicates which portion of the IP address identifies the network, and which part identifies the host.

For example, for a subnet of 10.24.98.x, with a mask of 255.255.255.0, the default broadcast address would be 10.24.98.255.

When specifying an IPv6 address on a Windows platform, the interface identifier should be used. Unix platforms support both interface identifiers and interface names in IPv6 addresses. The interface identifier is required on Linux (kernel 2.6.13 and later). See IPv6 support in SQL Anywhere.

See also
Example

The following connection string example tells the client to broadcast only on interface number 2 when using IPv6:

LINKS=tcpip(BROADCAST=ff02::1%2)