Re: [twsocket] Bug in TCustomWSocket

2011-04-21 Thread Arno Garrels
Éric Fleming Bonilha wrote: > HI > > I don´t know if this bug was already fixed on newer releases of > TWSocket, if yes, sorry for the mail Éric, Thanks, I just checked in rev. #700. -- Arno Garrels > > On unit OverbyteIcsWSocket > > procedure TCustomWSocket.SetSocketRcvBufSize(BufSize :

Re: [twsocket] HTML encoding to char

2011-04-21 Thread Anton S.
>Delphi HTTPApp unit, function HTMLDecode Wow! I had no idea of this unit, Thanks a lot! HTTP date parsing, Cookies (!), entuity en/decoding... THttpCli might take some useful code from this unit :) But as I see, HTMLEncode touches only special chars. If that's what you need, fine. You may also u

Re: [twsocket] HTML encoding to char

2011-04-21 Thread Anton S.
>You may also use my function which I wrote for a XML: Ahh, sorry, you need decoding... here's algorythm: 1) Search for & 2) Search for ; after & 3) Get text between & and ; as S 4) idx := AnsiIndexStr(S, XmlEntities); if idx = -1 then ... // Error or ignore 5) replacement char is XmlCtrlChars[

[twsocket] XML RPC

2011-04-21 Thread hein
Hi All Just a quick question. I need to interface to a XML RPC API, but I havent got the foggiest were to start. Could the ICS possibly assist? Regards, Hein -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket

Re: [twsocket] XML RPC

2011-04-21 Thread Francois PIETTE
Just a quick question. I need to interface to a XML RPC API, but I havent got the foggiest were to start. Could the ICS possibly assist? XML RPC is a remote procedure call (RPC) protocol which uses XML to encode its calls and HTTP as a transport mechanism. "XML-RPC" also refers generically to

Re: [twsocket] XML RPC

2011-04-21 Thread hein
Thank you Francois It's unfortunately an existing API I need to interface with. The encoding is Base64, so I'll need to find a delphi lib to get it back to regular XML. I was hoping for some autmation with the process, but looks like it's going to be a few late nights. Have a good easter all. Re

Re: [twsocket] XML RPC

2011-04-21 Thread Francois PIETTE
It's unfortunately an existing API I need to interface with. No problem. As usual with XML, be prepare to have CPU and memory hungry piece of code. The encoding is Base64, so I'll need to find a delphi lib to get it back to regular XML. ICS has the functions to encode and decode base64.