[twsocket] Adjusting the receive buffer size?

2006-10-26 Thread Ampersand
Hi. Im just wondering how you can change the receive buffer size, possibly by using so_rcvbuf? Im using TWsocket and didnt see anything mentioning the receive buffer size in the code so I take it it's using the system default tcp window size for your OS? I would like to make the buffer

Re: [twsocket] Adjusting the receive buffer size?

2006-10-26 Thread Francois Piette
As far as I remember, I added code in ICS-V6 for that purpose. I haven't it at hand to verify if it was just an idea or if I really implemented it. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware)

Re: [twsocket] Adjusting the receive buffer size?

2006-10-26 Thread Wilfried Mestdagh
Hello Ampersand, TCP framing window let make the receiving buffer grow when needed. You dont need to touch it (I dont think you can but I'm not sure). --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, October 26, 2006, 09:26,

Re: [twsocket] Adjusting the receive buffer size?

2006-10-26 Thread Fastream Technologies
Perhaps modifying the registry would help? (I guess so) On 10/26/06, Wilfried Mestdagh [EMAIL PROTECTED] wrote: Hello Ampersand, TCP framing window let make the receiving buffer grow when needed. You dont need to touch it (I dont think you can but I'm not sure). --- Rgds, Wilfried

Re: [twsocket] FTP server, problem with property PasvIpAddr

2006-10-26 Thread Arno Garrels
Francois PIETTE wrote: Searching MSDN for SIO_GET_INTERFACE_LIST report a few hits. But WSAIoctl doesn't lit it ! Thanks I'll investigate more in this, my idea was to incude an utility function something like IsSameSubnet(IP: TInAddr): Boolean in WSocket.pas provided that it must not use

Re: [twsocket] FTP server, problem with property PasvIpAddr

2006-10-26 Thread Francois Piette
Maybe creating a new OverbyteIcsWinsock2.pas file with all stuff specific to winsock2 would be a good idea ? Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework,

Re: [twsocket] FTP server, problem with property PasvIpAddr

2006-10-26 Thread Arno Garrels
Francois Piette wrote: Maybe creating a new OverbyteIcsWinsock2.pas file with all stuff specific to winsock2 would be a good idea ? Yeah, something for the ToDo list. Currently I just want a simple and fast check whether a peer address is in the subnet in a FTP server I'm currently working on.

Re: [twsocket] FTP server, problem with property PasvIpAddr

2006-10-26 Thread Fastream Technologies
I believe for common tasks that would require many developers to do the same thing, there should be common code in the component set. Thinking otherwise is not productive. Regards, SubZero On Thu, 26 Oct 2006 16:33 +0100 (BST), Angus Robertson - Magenta Systems Ltd [EMAIL PROTECTED] wrote:

Re: [twsocket] FTP server, problem with property PasvIpAddr

2006-10-26 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Currently I just want a simple and fast check whether a peer address is in the subnet in a FTP server I'm currently working on. The simple solution is to create an event with a true/false response, and let the application do the hard work. The

Re: [twsocket] FTP server, problem with property PasvIpAddr

2006-10-26 Thread Angus Robertson - Magenta Systems Ltd
OK, but why loading additional libraries when the same can be achieved by using winsock2? WSAIoctl/SIO_GET_INTERFACE_LIST should work even in W95 It's new development, you wanted a simple solution. Winsock2 is an additional library, just a different additional library to IpHlpApi.

Re: [twsocket] FTP server, problem with property PasvIpAddr

2006-10-26 Thread Angus Robertson - Magenta Systems Ltd
I believe for common tasks that would require many developers to do the same thing, there should be common code in the component set. Thinking otherwise is not productive. Rubbish. This passive IP NAT stuff is hardly common, otherwise this mailing list would be full of requests for it.

Re: [twsocket] FTP server, problem with property PasvIpAddr

2006-10-26 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: OK, but why loading additional libraries when the same can be achieved by using winsock2? WSAIoctl/SIO_GET_INTERFACE_LIST should work even in W95 Winsock2 is an additional library, just a different additional library to IpHlpApi. Not realy since

Re: [twsocket] Adjusting the receive buffer size?

2006-10-26 Thread Francois PIETTE
I checked ICS-V6 source code. What I have done is query the winsock buffer size for sending and for receiving and store it in two variable FSocketRcvBufSize and FSocketSndBufSize. My idea was to provide a property with those values with a setter allowing to change it. I haven't implemented the

Re: [twsocket] Exception on compiling SocketSpy with newest ICS v5/6

2006-10-26 Thread retnyg
Hello Wilfried, thank you, i need the source to be working because i need a tunneling app with easy to change target ip adress. btw, inside the app source code is no reference to WSocketServer.LastError, It seems to happen inside the core Socket code. WM Hello retnyg, WM Maybe SocketSpy code