Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Arno Garrels
Frans van Daalen wrote: > m...I see some light in the tunnel now, will try some new thinks > according to this code to see if that is indeed the end of the tunnel or > the train :-) Probably just the train you should jump on ;) Try to think fully event-driven. --- Arno Garrels [TeamICS] http

Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hello Arno, > >> Eh, my OE has no syntax check, why? > > ;-) > We should write our own with TSmtpCli and syntax check. OK, count me in, it should at least support Pascal, C, C++, and C#. May be we have some minutes at the next weekend ;) --- Arno Garrels [TeamICS] htt

Re: [twsocket] THttpCli and UPnP devices

2006-04-05 Thread Kris Schoofs
> With UDP, connect and listen seem to be the same thing. So specify Addr and Port, > then connect, send, and you'll get your responses in data available. I tried this and this works great ! Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of A

Re: [twsocket] Error 10053?

2006-04-05 Thread Jack
Hello Wilfried, That's right, the client was connected without socket error. On one of the PCs it happens persistently since recently. (It didn't happen on that pc before.) One another PC, it gets 10053 once in a while but it can be a few dozen times a day. On those PCs, other applications (IE,

Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Frans van Daalen
thanks for the extra info - Original Message - From: "Wilfried Mestdagh" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, April 05, 2006 8:20 PM Subject: Re: [twsocket] wm_quit in requestdone in thread > Hello, > > Release post a message to the component's hidden window to

Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Frans van Daalen
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, April 05, 2006 7:46 PM Subject: Re: [twsocket] wm_quit in requestdone in thread > Eh, my OE has no syntax check, why? > > const >WM_MY_MESSAGE_AFTER_RQ_DONE = WM_USER + 1; >

Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Wilfried Mestdagh
Hello, Release post a message to the component's hidden window to destroy it. The destruction is done in the message handler. WM_QUIT will exit the message loop if using GetMessage, and it will also terminate program for example, but it is not the same. It is pure depandant of what the programmer

Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Wilfried Mestdagh
Hello Arno, > Eh, my OE has no syntax check, why? ;-) We should write our own with TSmtpCli and syntax check. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto ht

Re: [twsocket] Error 10053?

2006-04-05 Thread Wilfried Mestdagh
Hello Jack, 10053 is WSAECONNABORTED or in words: 'Software caused connection abort' witch means that the OS has decided to abort the connection due to some uknown reason. It is not nececary the OS, can also be a decision of a router. Question: You are getting connected without winsock error do y

Re: [twsocket] OT: SMTP tray program

2006-04-05 Thread Fredrik Bergström
I must say that Mobile TCP is the most recommended program of these =P, and it uses ICS as well ;). Sadly I do not think that it will solve this problem, but I could look into adding authenticated SMTP, should not be that hard I guess. I have to rewrite the forwarding bit anyway ;). Sorry for bei

Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Arno Garrels
Eh, my OE has no syntax check, why? const WM_MY_MESSAGE_AFTER_RQ_DONE = WM_USER + 1; WM_WHATEVER_MSG = WM_USER + 2; while GetMessage(Msg, 0, 0, 0) do begin if Msg.Message = WM_REQUEST then begin ...some code http.GetASync; end else if Msg.Messag

Re: [twsocket] Error 10053?

2006-04-05 Thread edwin
http://support.ipswitch.com/kb/WSK-19980702-EM02.htm Original Message --- Hi Francois and all, I have a client software. On some of the PC, when the client is connected to the server and wants to send some data, a twsocket OnSessionClosed() event is triggered with an error co

Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Arno Garrels
Why do you call WSocket's message pump from within your own? GetMessage returns FALSE after receiving WM_QUIT. So you could just post another, custom message. Try this instead: while GetMessage(Msg, 0, 0, 0) do begin if Msg.Message = WM_REQUEST then Begin ...some code

Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Fastream Technologies
WM_QUIT has the same effect as Release! Regards, SZ - Original Message - From: "Frans van Daalen" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, April 05, 2006 7:21 PM Subject: Re: [twsocket] wm_quit in requestdone in thread > - Original Message - > From: "Fa

Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Frans van Daalen
- Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, April 05, 2006 6:05 PM Subject: Re: [twsocket] wm_quit in requestdone in thread > Hello, > > Why don't you use the Release method of VCL in the requestdone? > > Regards, > >

Re: [twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Fastream Technologies
Hello, Why don't you use the Release method of VCL in the requestdone? Regards, SZ - Original Message - From: "Frans van Daalen" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, April 05, 2006 6:44 PM Subject: [twsocket] wm_quit in requestdone in thread >I have the fol

Re: [twsocket] Error 10053?

2006-04-05 Thread Dod
Hello Jack, I don't remember if 10053 is "Connection refused" but if it is, then you may check for a firewall on the machine that block. J> I have a client software. On some of the PC, when the client J> is connected to the server and wants to send some data, a twsocket J> OnSessionClosed() event

[twsocket] wm_quit in requestdone in thread

2006-04-05 Thread Frans van Daalen
I have the following code procedure TConsumerThread.Execute; ...some code while GetMessage(Msg, 0, 0, 0) do begin TranslateMessage(Msg); DispatchMessage(Msg); if Msg.Message = WM_REQUEST then Begin ...some code http.GetASync; http.CtrlSoc

[twsocket] Error 10053?

2006-04-05 Thread Jack
Hi Francois and all, I have a client software. On some of the PC, when the client is connected to the server and wants to send some data, a twsocket OnSessionClosed() event is triggered with an error code of 10053. When this happens, it will happen again and again. Other applications like IE, fire

Re: [twsocket] OT: SMTP tray program

2006-04-05 Thread Dod
Hello David, I forgot this one http://www.xrayapp.com/xray/screenshots/ That is also very nice because it can change/remove/add headers "on the fly" during POP3 or SMTP forwarding :-) -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/l

Re: [twsocket] OT: SMTP tray program

2006-04-05 Thread Dod
Hello David, Don't know if they do authentication but I know two (freeware) local SMTP relays used for people with a notebook that switch between ISP's a lot. Autoroute SMTP MobileTCP Regards. DR> Before I reinvent the wheel DR> I have a program here which sends email via SMTP but does

[twsocket] OT: SMTP tray program

2006-04-05 Thread David Rose
Before I reinvent the wheel I have a program here which sends email via SMTP but doesn't support authentication. I also have an ISP which only allows authenticated SMTP. Does anyone know of a little app which I can run locally on my PC (either as a service or a tray app) which will act as a