339
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
.Localportlist Property
Function:
For the currently selected socket (selection is made
through
) sets/returns the list of listening
ports on any of which this socket will accept an incoming
UDP or TCP connection.
Type:
String
Value Range:
0-32 characters, default= ""
See Also:
Details
The socket will only accept an incoming connection when such connections are
allowed by the
property. Whether the socket will accept UDP or
TCP connections is defined by the
property (
not supported
platform) defines network interfaces on which the socket will accept an incoming
connection.
This property is of string type and the list of ports is a comma-separated string, i.
e. "1001,3000" (to accept connections on either port 1001 or 3000). Max string
length for this property is 32 bytes. Notice, that there is also a
property that defines a list of listening ports for HTTP TCP connections.
.Newtxlen R/O Property
Function:
For the selected socket (selection is made through
) returns the amount of uncommitted TX data in
bytes.
Type:
Word
Value Range:
0-65535, default= 0 (0 bytes)
See Also:
---
Details
Uncommitted data is the one that was added to the TX buffer with the
method but not yet committed using the
method.
.Nextpacket Method
Function:
For the selected socket (selection is made through
) in the UDP mode (
= 0-
PL_SOCK_PROTOCOL_UDP) closes processing of current
UDP datagram and moves to the next datagram.
340
338
338
345
327
134
335
340
353
353
340
345