> I am very impressed about Synapse. It's truly robust and stable, much > more than Indy.Sockets Components. Good job on developing this > library. I was using pop3send class, and I verify that bandwidth limit > isn't working when using the "Top" method. I try to understand why and > I note that TPOP3Send.Top method invoke the RecvString method at > TBlockSocket class, and RecvString don't make a call to > LimitBandwidth.
RecvString call RecvPacket if is necessary. And RecvPacket call lowlever RecvBuffer, what contains bandwidth limitation code. problem can be in packetnature of TCP connection. If I receive one big packet, then I read all data from it without bandwidt limitation. Bandwidth limitation is applied between two or more packets. So, bandwidth limitation is implemented as minimum time between two readed packets. If you read just one packet, then you got it immediately, but next packet can be readed after some time, defined by setted bandwidth and size of readed datas. -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
