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

2006-10-26 Thread Francois PIETTE
> I know many people running tiny, fast applications on their old > 9x boxes successfully, why throw them away? Some even use them as > mail servers (i.e. Mercury32) or as NAT routers etc. Agreed. -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket

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 d

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

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

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.

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 Angus Robertson - Magenta Systems Ltd
> 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 application can then use either WMI or IpHelp

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

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 mu

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] 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, Ampersan

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

2006-10-26 Thread Wilfried Mestdagh
Hello retnyg, Maybe SocketSpy code does something that is not anymore possible using receint ICS version ? You find the executable on my site. I try to look in the code when I have a moment of time. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh

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

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