Re: [twsocket] TransmitFile Windows API

2011-02-08 Thread Francois PIETTE
Limitation on two concurrent function on non server operating system could be problematic ! Again, not really an issue for proper server applications that should be running on Windows Server, and not XP Pro or something which already have a limit of five or 10 shares, but not usually sockets.

Re: [twsocket] TransmitFile Windows API

2011-02-08 Thread Angus Robertson - Magenta Systems Ltd
> Would be interesting to make some testing. It should be used with > overlapped I/O to somewhat preserve the asynchronous nature of ICS. Never used overlapped I/O, but a simple sync test of TransmitFile should indicate if the performance increase is worth the effort. > Of course, there won't

Re: [twsocket] TransmitFile Windows API

2011-02-07 Thread Francois PIETTE
- Magenta Systems Ltd" To: Sent: Monday, February 07, 2011 8:30 PM Subject: [twsocket] TransmitFile Windows API Browsing MSDN, I came across a winsock function that may speed up the ICS FTP and HTTP servers, which in my testing are slower than others. It seems to combine reading a file

[twsocket] TransmitFile Windows API

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
Browsing MSDN, I came across a winsock function that may speed up the ICS FTP and HTTP servers, which in my testing are slower than others. It seems to combine reading a file and sending it over a socket. Possible downside is client windows is restricted to two sessions at a time, server windows