Re: [twsocket] [QUESTION] THttpCli and SocketError

2006-02-17 Thread Dod
Hello Guillaume, of course change the WSocketServer I used (I just did a copy/paste from one of my code). GM Hi all, GM is there a way when, on ThttpCli.OnSocketError is triggered, to know what was the error ? GM i mean is it an error from TCP/IP stack, a system error (like no handle, etc...)

Re: [twsocket] [QUESTION] THttpCli and SocketError

2006-02-17 Thread Guillaume MAISON
Dod a écrit : Hello Guillaume, of course change the WSocketServer I used (I just did a copy/paste from one of my code). Thanks ! i'll check it when i test my application :) regards, -- Guillaume MAISON - [EMAIL PROTECTED] 83, Cours Victor Hugo 47000 AGEN Tél : 05 53 87 91 48 - Fax :

[twsocket] UDPServer receive and IP

2006-02-17 Thread George
Hello, I have a UDPServer component and on DataAvailable SrcLen := SizeOf(Src); Len:= UDPServer.ReceiveFrom(@Buffer, SizeOf(Buffer), Src, SrcLen); ShowMessage(inet_ntoa(Src.sin_addr)); // i know the IP address of the remote pc but since my computer contains 5 ip addresses in the

Re: [twsocket] UDPServer receive and IP

2006-02-17 Thread Francois Piette
Try with GetXAddr method. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: George

[twsocket] Bcc list - multiple users - problem with bad email adress

2006-02-17 Thread WP
Hello! I am from Poland. This is my problem. Let's say that I send email to 100 people. They are in BCC list. For example: [EMAIL PROTECTED]; [EMAIL PROTECTED]; .. [EMAIL PROTECTED]; Mail is sending. But, suddenly I have an error message, that some emaill adresses are incorrect or doesn't exist

[twsocket] Problem with Thread(At/De)tach

2006-02-17 Thread Fastream Technologies
Hello, I know I have brought this problem to your attention before but it persists and I think I have a clue. The problem has been: - MT - NOFORMS - Worker thread of http server clients is different than http server itself Now the clue is I recognized that there is window

Re: [twsocket] Bcc list - multiple users - problem with bad email adress

2006-02-17 Thread Arno Garrels
Hi, There's an event OnRcptError that you can use to handle the situation, not sure if it is in current release or latest beta. procedure TForm1.SmtpClientRcptToError(Sender: TObject; ErrorCode: Word; RcptNameIdx: Integer; var Action: TSmtpRcptToErrorAction); begin end; Arno

[twsocket] TWsocket in Threads and ShellExecute

2006-02-17 Thread asvetov
Hello all! Does somebody have this problem: if twsocket is created in thread and the thread goes to suspend mode, than if you try to call i.e. explorer thru shellexecute, the whole applications hangs some minutes. I assume it has something todo with Window Handle Allocation in TWSocket, but

Re: [twsocket] TWsocket in Threads and ShellExecute

2006-02-17 Thread Wilfried Mestdagh
Hello asvetov, This is normal behaviour in windows. If you create a (hidden) window in a thread you must pump messages or your system can deadlock. If you suspend a thread having a window then it cannot pump, so that is what you experiance. --- Rgds, Wilfried [TeamICS]

Re: [twsocket] TWsocket in Threads and ShellExecute

2006-02-17 Thread asvetov
Hello, Wilfried! Thank you for clarifying this. Do you have any recommendations how to avoid this behaviour? I think many people works with different ICS components in threads and reuse threads (doing suspend/resume) and all they have this problem? Or I▓ am the only one who haven▓t solved