Sock.Rxpacketlen R/O Property

Top  Previous  Next

 

Function:

For the selected socket (selection is made through sock.num) 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:

sock.rxlen

 


Details

This property is only relevant when the sock.protocol= 1-PL_SOCK_PROTOCOL_TCP. Correct way of using this property is within the on_sock_data_arrival event or in conjunction with the sock.nextpacket method.