331
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
.Currentinterface R/O Property
Function:
For the currently selected socket (selection is made
through
) returns the network interface this
socket is currently communicating through.
Type:
Enum (pl_sock_interfaces, byte)
Value Range:
Platform-specific. See the list of pl_sock_interfaces
constants in the platform specifications.
See Also:
Details
The value of this property is only valid when the socket is not idle, i.e. sock.
statesimple<> 0- PL_SSTS_CLOSED.
This property is not available on the
platform.
.Discard Method
Function:
For the selected socket (selection is made through
) causes the socket to discard the connection with
the other host.
Syntax:
sock.discard
Returns:
---
See Also:
,
Details
Discarding the connection means simply forgetting about it without notifying the
other side of the connection in any way.
This method will be ignored when called from within an HTML page. HTML sockets
are handled automatically and your application is not at freedom to discard HTML
sockets arbitrarily.
.Endchar Property
Function:
For the currently selected socket (selection is made
through
) specifies the ASCII code of the
character that will end inband command (message).
Type:
Byte
Value Range:
0-255, default= 13 (CR)
See Also:
340
292
134
340
328
348
340
332