330
Platforms
©2000-2008 Tibbo Technology Inc.
Details
The CMD buffer accumulates incoming inband commands (messages) and may
contain more than one such command. Use
method to extract
the data from the CMD buffer.
.Connect Method
Function:
For the selected socket (selection is made through
) causes the socket to attempt to connect to the
target host.
Syntax:
sock.connect
Returns:
---
See Also:
Details
The target is specified by the
and
(unless, for
UDP, the socket is to broadcast the data- see the
property).
Outgoing connection will be attempted through the network interface defined by
the
property (
not supported
by the
platform).
Method invocation will have effect only if connection was closed at the time when
the method was called (
in one of PL_SST_CLOSED states).
.Connectiontout Property
Function:
For the currently selected socket (selection is made
through
) sets/returns connection timeout
threshold for the socket in half-second increments.
Type:
Word
Value Range:
0-65535 (0-32767.5 seconds, 0 means "no timeout"),
default= 0 (no timeout)
See Also:
Details
When no data is exchanged across the connection for sock.connectiontout/2
number of seconds this connection is aborted (in the same way as if the
method was used). Connection timeout of 0 means "no timeout".
Actual time elapsed since the last data exchange across the socket can be obtained
through the
R/O property.
334
340
360
359
359
359
134
355
340
290
348
360