327
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
You will get everything shown in
blue
.
8.3.5.2
Properties, Methods, and Events
This section provides an alphabetical list of all properties, methods, and events of
the sock object.
.Acceptbcast Property
Function:
For the currently selected socket (selection is made
through
) specifies whether the socket will
accept incoming broadcast UDP datagrams.
Type:
Enum (yes_no, byte)
Value Range:
0- NO (default): will not accept broadcasts.
1- YES: will accept broadcasts.
See Also:
---
Details
This property is irrelevant for TCP communications (
=PL_SOCK_PROTOCOL_TCP).
.Allowedinterfaces Property
Function:
For the currently selected socket (selection is made
through
) defines the list of network
interfaces on which this socket will accept incoming
connections.
Type:
String
Value Range:
Platform-specific. See the list of supported interfaces in
the "Platform-dependent Programming Information" topic
found inside the documentation for your platform.
See Also:
Accepting Incoming Connections
Details
Each network interface has a name. For example, the Ethernet interface goes by
the name "NET" (because it is handled by the
object). The Wi-Fi interface is
object).
The list of allowed interfaces is comma-delimited, i.e. "WLN,NET". Note that
reading back the value of this property will return the same list, but not
necessarily in the same order. For example, the application may write "WLN,NET"
into this property, yet read "NET,WLN" back. Unsupported interface names will be
dropped from the list automatically.
The socket will not accept a connection on the interface which is not on the sock.
340
345
340
279
267
497