352
Platforms
©2000-2008 Tibbo Technology Inc.
Returns:
---
See Also:
---
Details
Invoking this method will have no effect when the socket is in the HTTP mode (
= 1- YES).
.Rxpacketlen R/O Property
Function:
For the selected socket (selection is made through
) returns the length (in bytes) of the UDP
datagram being extracted from the RX buffer.
Type:
Word
Value Range:
0-1536, default= 0
See Also:
Details
This property is only relevant when the
=
1-PL_SOCK_PROTOCOL_TCP. Correct way of using this property is within the
event or in conjunction with the
method.
.Rxlen R/O Property
Function:
For the selected socket (selection is made through
) returns total number of bytes currently waiting
in the RX buffer to be extracted and processed by your
application.
Type:
Word
Value Range:
0-65535, default= 0
See Also:
---
Details
event is generated once the RX buffer is not empty, i.
e. there is data to process. There may be only one on_ser_data_arrival event for
each socket waiting to be processed in the event queue. Another
on_sock_data_arrival event for the same socket may be generated only after the
previous one is handled.
If, during the on_sock_data_arrival event handler execution, not all data is
extracted from the RX buffer, another on_sock_data_arrival event is generated
334
340
352
345
342
339
340
342