> My knowledge in low-level TCP/IP isn't very good, but I don't think all
> data are sended in one packet in my case. I use the TOP command because a
> RETRIEVE, in some servers, mark e-mails as read and not list it anymore
> after a successful retrieve. To avoid this, I send a TOP command with a
> high line count, so all data are dropped with TOP command. I tested
> bandwidth limit using a 12 MB message, which I don't think can be send in
> a single TCP packet, and the bandwidth limit doesn't work at all. So,
> presuming that my TOP request isn't a single TCP packet operation, how I
> can implement bandwidth limit (or can be implemented in Synapse classes)?

If you want to see how data is realy readed by socket, use OnStatus hook.

Anyway, I really cannot know where you have a problem. Bandwidth 
limitation code is implemented on very low-level inside synapse, and can 
be used by all sockets inside Synapse. POP3send is not exception.

I can only speculate what is wrong, because you not provide any detailed 
informations. Are you sure if you are setting bandwidth limit correctly?

Use OnStatus hook, see for HR_read and HR_wait events. It is best start 
for debugging.

--
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP 
Library



-------------------------------------------------------------------------
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

Reply via email to