Hello, currently I am using
HasData := SynTCPClient.Sock.CanRead(ATimeOut); to check if there is pending incoming data. Is it allowed to use 0 as the param value for CanRead, and will the CanRead function still try to read from the socket if I use 0 as parameter? For a high-speed function which should not use more time than needed, using 1 (millisecond) would be to log, so I would be happy to know if 0 is still causing a socket read. I am using the 40 release. Many thanks in advance! -- Michael Justin ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public