Hi, Could anybody confirm, that there is a huge difference in speed between the two SendStream/RecvStream methods in the following demo:
http://www.theo.ch/Kylix/perftest.zip (There is a Delphi and a Kylix Demo) The diffence to the Synapse "builtin" SendStream / RecvStream methods is only, that the ones found in "upacksock.pas" do not send the length indicator separately (SendInteger(si);) but pack it on top of the stream. Do not get confused about the word "upacksock" or "SendPackedStream", it doesn't pack anything in this demo and it's not about compression here. This is just useful in other cases, but doesn have any influence on what I'd like to show. How to use the demo: Please test over a Windows-LAN (2*Winsock) first. The difference is not so evident when testing on loopback. The demo can play both roles client and server. Press "Listen" on the server side. On the client side, fill in the host address first. The client is single threaded, it thus may block if for example you change the method before there is a possiblity to connect, because the client will try to inform the server about the method change. What could cause this diffence? I'm not sure, but it could have to do with: http://support.microsoft.com/kb/214397/EN-US/ I wouldn't say it's a Synapse problem, but it might be good to be aware of such things. (Unless I made a terrible mistake, that is ;-) Thanks Theo ------------------------------------------------------------------------- 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
