Documentation

Net::Socket::CanRead

Method in Socket

Deprecated
bool CanRead()

This method is deprecated and should not be used. Consider using IsReady(), IsHungUp(), or Available() instead, depending on your use-case.

Returns bool