328
Platforms
©2000-2008 Tibbo Technology Inc.
allowedinterfaces list, even if all other connection parameters such as protocol,
port, etc. are correct.
This property is not available on the
platform.
.Bcast R/O Property
Function:
For the currently selected socket (selection is made
through
) reports whether the current or
most recently received UDP datagram was a broadcast
one.
Type:
Enum (no_yes, byte)
Value Range:
0- NO (default): the UDP datagram is not a broadcast
one.
1- YES: the UDP datagram is a broadcast one.
See Also:
,
Details
event handler is entered, the sock.bcast will
contain the broadcast status for the current datagram being processed. Outside of
the on_sock_data_arrival event handler, the property will return the broadcast
status of the most recent datagram received by the socket.
.Close Method
Function:
For the selected socket (selection is made through
) causes the socket to close the connection with
the other host.
Syntax:
sock.close
Returns:
---
See Also:
Details
For established TCP connections this will be a "graceful disconnect", if the TCP
connection was in the "connection opening" or "connection closing" state this will
be a reset (just like when the
method is used). If connection was in
the ARP phase or the transport protocol was UDP (
= 0- 0-
PL_SOCK_PROTOCOL_UDP) the connection will be discarded (just like when the
method is used). Method invocation will have NO effect if
connection was closed at the time when the method was called (
in
one of PL_SST_CLOSED states).
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 close HTML
134
340
348
347
348
342
340
348
345
331
355