poll Method
Checks whether there is any inbound data readily available.
Syntax
def poll(milliseconds: int) -> bool: ...
Remarks
Use this method to check whether there is any incoming data available in the connection. If this method returns true, you can read the data with receive or receive_bytes calls.
Use the Milliseconds parameter to tell the component how long it can wait for the data to arrive.