Re: [twsocket] [TWSocket] Code proposals

2009-12-04 Thread Anton Sviridov
Francois, Don't get me wrong, I really appreciate your suggestions to improve ICS. If you see the history in each source file, you'll see the large number of contributors. I got your point, but I really wonder, what kind of suggestions will you accept if: 1) small internal changes you don't

Re: [twsocket] [TWSocket] Code proposals

2009-12-04 Thread Angus Robertson - Magenta Systems Ltd
I got your point, but I really wonder, what kind of suggestions will you accept if: 1) small internal changes you don't like because version comparing becomes more sophisticated Someone has to implement and test those changes, and there is always a risk of unforseen complications or new

Re: [twsocket] [TWSocket] Code proposals

2009-12-02 Thread Anton Sviridov
This is an and not an or. The exception is raised when FProtoStr is neither 'tcp' no '6'. Aaaah, yeah, I got it. Seems my mind was too sleepy yesterday ;) Probably. Maybe you'll implement those features ? I could make a try when I have some time, but it will be a kind of sketch anyway, as I

Re: [twsocket] [TWSocket] Code proposals

2009-12-01 Thread Anton Sviridov
When Unicode Delphi came out the goal was to port ICS with minimum changes, I guess the same was true when Delphi .Net came out. No argues, but sometimes the things done in hurry should be polished, shouldn't they? About .Net: I see that it's in eraly development stage, so let it go as you

Re: [twsocket] [TWSocket] Code proposals

2009-12-01 Thread Francois PIETTE
if (_LowerCase(FProtoStr) 'tcp') and (_Trim(FProtoStr) '6') then begin RaiseException('TCP is the only protocol supported thru socks server'); { V5.26 } Exit; end; a) looks quite weird, as it likely to throw exception in every case (FProtoStr can't be equal to 'tcp'

Re: [twsocket] [TWSocket] Code proposals

2009-11-28 Thread Arno Garrels
Anton Sviridov wrote: Having looked at the OverbyteIcsWSocket unit, I've noticed many IFDEF CLR which probably might be removed. First of all, I think it's better to turn all buffers from PAnsiChar / array of AnsiChar to TBytes, as it is recommended by Embarcadero (though one would declare

Re: [twsocket] [TWSocket] Code proposals

2009-11-23 Thread Anton Sviridov
And even more: 1) procedure TCustomSocksWSocket.SetSocksServer(sServer : String); begin ... if Length(FSocksServer) = 0 then begin FSocksServerAssigned := FALSE; Exit; end; FSocksServerAssigned := TRUE; end; = FSocksServerAssigned := Length(FSocksServer) 0;

Re: [twsocket] BCB code for DNS query with ICS

2007-02-23 Thread Francois Piette
I need BCB5 code for DNS query with ICS. I should get two name servers by BCB5 code. Do anybody have such code for BCB5? Have a look at the cpp\internet folder. There is a sample provided with ICS-V5: NsLook. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL

Re: [twsocket] Sample Code Missing

2006-09-28 Thread Angus Robertson - Magenta Systems Ltd
The user made code for WSOCKETEXT.PAS was missing, where can I get it? It's included in the SNTP components zip on my page: http://www.magsys.co.uk/delphi/magics.asp Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Sample Code Missing

2006-09-28 Thread KL Chin
Hi Angus, Thx for your link. Will try by tomorrow. Regards, KL Chin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Angus Robertson - Magenta Systems Ltd Sent: Thursday, September 28, 2006 7:37 PM To: twsocket@elists.org Subject: Re: [twsocket] Sample

Re: [twsocket] Sample Code Missing

2006-09-28 Thread KL Chin
); end; Regards, KL Chin -Original Message- From: KL Chin [mailto:[EMAIL PROTECTED] Sent: Friday, September 29, 2006 12:25 AM To: ICS support mailing Subject: RE: [twsocket] Sample Code Missing Hi Angus, Thx for your link. Will try by tomorrow. Regards, KL Chin -Original Message

Re: [twsocket] The code

2005-04-30 Thread Francois PIETTE
What does the debugger says when you watch at FBanner, FLineEnd and Self ? Are you able to enter SendSr using F7 ? When you put a breakpoint on the first line of SendStr, do you reach that breakpoint before the exception ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message -