Re: [twsocket] TSmtpCli: No Get Correct Time Zone

2006-05-22 Thread Macfly
Please Ignore this message. TimeZone works fine in TSMTPCli Att. MacFly Macfly <[EMAIL PROTECTED]> wrote: Hi for All I Use TSmtpCli to send mail, but when i receive message with mail client program or webmail like Yahoo, the received messages was date in the past. Exactly -3

[twsocket] TSmtpCli: No Get Correct Time Zone

2006-05-22 Thread Macfly
Hi for All I Use TSmtpCli to send mail, but when i receive message with mail client program or webmail like Yahoo, the received messages was date in the past. Exactly -3 hours, this is the same Time Zone for my Country (-3:00). The question is, how i set Date for message to corre

Re: [twsocket] thread message loop question

2006-05-22 Thread Arno Garrels
Carsten Muencheberg wrote: > Arno Garrels wrote: >> Fastream Technologies wrote: >>> I think he is not assigning his own message oump at all--using the >>> default one with PeekMessage. >> [...] >> However, if he has both property MultiThreaded set to TRUE as >> well as calls (sync) method Get then

Re: [twsocket] thread message loop question

2006-05-22 Thread Carsten Muencheberg
Arno Garrels wrote: > Fastream Technologies wrote: >> I think he is not assigning his own message oump at all--using the default >> one with PeekMessage. > [...] > However, if he has both property MultiThreaded set to TRUE as > well as calls (sync) method Get then it may result in plenty > of CPU u

Re: [twsocket] thread message loop question

2006-05-22 Thread Arno Garrels
Carsten Muencheberg wrote: > > yes, that was my original question in this thread. I am using the default. Are you calling method Get or GetAsync? If you call GetAsync please show us next line(s) of your code. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To

Re: [twsocket] thread message loop question

2006-05-22 Thread Arno Garrels
Fastream Technologies wrote: > I think he is not assigning his own message oump at all--using the default > one with PeekMessage. Again, that is not TRUE: { Loop thru message processing until the WM_QUIT message is received} { This is intended for multithreaded application using TWSocket

Re: [twsocket] thread message loop question

2006-05-22 Thread Carsten Muencheberg
Fastream Technologies wrote: > I think he is not assigning his own message oump at all--using the default > one with PeekMessage. > > That may have been the problem... Hi Francois, yes, that was my original question in this thread. I am using the default. I have compiled the \ICS\Cpp\Internet\

Re: [twsocket] Error 10048 in function Bind

2006-05-22 Thread Fastream Technologies
If the port is not allocated, then I think the problem is the listening IP. It should be either 0.0.0.0 or a valid adapter IP. Regards, SZ - Original Message - From: "Allan Fernandes" <[EMAIL PROTECTED]> To: Sent: Monday, May 22, 2006 4:49 PM Subject: [twsocket] Error 10048 in functio

[twsocket] Error 10048 in function Bind

2006-05-22 Thread Allan Fernandes
Hi, I am getting the following error when I try to Start the FTPServer Error 10048 in function Bind Address already in use I have already assigned port = 5011 before Start. Please advice. Allan Send instant messages to your online friends http://uk.messenger.yahoo.com -- To unsubscribe or

Re: [twsocket] thread message loop question

2006-05-22 Thread Fastream Technologies
I think he is not assigning his own message oump at all--using the default one with PeekMessage. That may have been the problem... Regards, SZ - Original Message - From: "Francois Piette" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, May 22, 2006 3:11 PM Subject: Re: [t

Re: [twsocket] thread message loop question

2006-05-22 Thread Francois Piette
> FYI, I tested with a slow ISDN (64 kbit) connection today. 100% CPU > without Sleep(1). Check your message loop. You _must_ call GetMessage, not PeekMessage. PeekMessage use 100% CPU (It returns immediately no matter if there is a message or not). GetMessage use the very minimum (it is blocking

Re: [twsocket] thread message loop question

2006-05-22 Thread Carsten Muencheberg
Arno Garrels schrieb: > Carsten Muencheberg wrote: >> Answering my own question: >> >> void __fastcall TForm1::HttpCli1DocData(TObject *Sender, Pointer Buffer, >> int Len) >> { >> Sleep(1); >> } >> // >> --- >> >> Did the tr