read from the input stream for this port will return immediately. enableReceiveTimeout is an advisory method which the driver may not implement. By default, receive timeout is not enabled.
An application can determine whether the driver supports this feature by first calling the enableReceiveTimeout method and then calling the isReceiveTimeout method. If isReceiveTimeout still returns false, then receive timeout is not supported by the driver.
See getInputStream for description of exact behaviour.
| |