345
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
len
Length of the new data in the RXed TCP packet.
Details
This event is only generated when
= 1- YES and
= 0- DISABLED. Notice that only new data, never transmitted
before, is counted. If the packet is a retransmission then this event won't be
generated. Also, if some part of packet's data is a retransmission and some part is
new then only the length of the new data will be reported. This way your program
can maintain correct relationship between data lengths reported by this event and
actual data in the RX buffer.
The on_sock_tcp_packet_arrival event is always generated before the
for any incoming TCP data (packet).
.Protocol Property
Function:
For the currently selected socket (selection is made
through
) selects the transport protocol.
Type:
Enum (pl_sock_protocol, byte)
Value Range:
0- PL_SOCK_PROTOCOL_UDP (default): UDP transport
protocol.
1- PL_SOCK_PROTOCOL_TCP: TCP transport protocol.
See Also:
---
Details
Notice, that there is no "HTTP" selection, as HTTP is not a transport protocol (TCP
is the transport protocol required by the HTTP). You make the socket accept HTTP
connections by specifying the list of HTTP listening ports using the
property or using the
property.
The program won't be able to change the value of this property when the socket is
not idle (
<> 0- PL_SSTS_CLOSED).
.Reconmode Property
Function:
For the currently selected socket (selection is made
through
) whether the socket accepts
reconnects, and, if yes, from which sources.
Type:
Enum (pl_sock_reconmode, byte)
355
337
342
340
335
334
358
340