341
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
Value Range:
The value of this property won't exceed
-1 (even if you attempt to set higher value). Default=
0 (socket #0 selected).
See Also:
---
Details
Sockets are enumerated from 0. Most other properties and methods of this object
relate to the socket selected through this property. Note that socket-related events
such as
change currently selected socket!
.Numofsock R/O Property
Function:
Returns total number of sockets available on the current
platform.
Type:
Byte
Value Range:
platform-dependent
See Also:
Details
---
.Outport Property
Function:
For the currently selected socket (selection is made
through
) sets/returns the number of the port
that will be used by the socket to establish outgoing
connections.
Type:
Word
Value Range:
0-65535, default= 0
See Also:
---
Details
If this property is set to 0 then the socket will use "automatic" port numbers: for
the first connection since the powerup the port number will be selected randomly,
for all subsequent outgoing connections the port number will increase by one.
Actual local port of a connection can be queried through the
read-
only property.
If this property is not at zero then the port it specifies will be used for all outgoing
341
342
340
340
338