Re: [twsocket] RFC 822 Date Time Conversion

2014-01-30 Thread Michael Gasser
Hi Richard maybe you should check the "user made" component LASTMOD.ZIP from http://www.overbyte.be/frame_index.html?redirTo=/products/usermade.html ___ I use this code in two programs. My programs did send me some error feedback w

Re: [twsocket] RFC 822 Date Time Conversion

2014-01-30 Thread Angus Robertson - Magenta Systems Ltd
> Has anyone got a solid method of converting RFC 822 date times > (e.g. Thu, 30 Jan 2014 05:48:07 +0800) to a TDateTime. There are RFC1123 date parsing functions in OverbyteIcsSmtpSrv.pas and OverbyteIcsHttpProt.pas, but neither handle the time zone. Angus -- To unsubscribe or change your s

[twsocket] RFC 822 Date Time Conversion

2014-01-30 Thread Richard Gallois
Hi, Has anyone got a solid method of converting RFC 822 date times (e.g. Thu, 30 Jan 2014 05:48:07 +0800) to a TDateTime. I've found a function in Indy to do this, but I'd rather not compile Indy into my project if there is an ICS way to do this. Many thanks, Richard -- To unsubscribe or change

Re: [twsocket] TWSocket Digest, Vol 554, Issue 3

2014-01-30 Thread Michael Gasser
Hi Noam I think you should set breakpoints directly in the socket component (or even add some test code) to (maybe ;-)) see what happens. Define a global flag F: boolean In your code: Before you assign values to ip and port 1. set F to true. 2. set a tag number for your socket, f.e. yoursock