[twsocket] THttpCli.CtrlSocket.OnBgException

2008-04-06 Thread crazdcodr
I have tried to implement an exception handler for this event but was unsuccessful. I have also read of similar complaints from other people. A working example of how to do this would be greatly appreciated. -- Want an e-mail address like mine? Get a free e-mail account today at www.mail.com! --

Re: [twsocket] UDP Newbie...

2008-04-06 Thread zayin
Hi, No virus programs. Windows firewall is on. Thanks for all the help, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: Sunday, April 06, 2008 2:24 PM To: ICS support mailing Subject: Re: [twsocket] UDP Newbie... Hello

Re: [twsocket] UDP Newbie...

2008-04-06 Thread Wilfried Mestdagh
Hello Mark, Do you have virus software or things like that running? If so stop all services. It could be that some virus / firewall software does strange things. Some of those software are very buggy ! --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestda

Re: [twsocket] UDP Newbie...

2008-04-06 Thread zayin
Hi, The port is not open. And yes "should " is the operative word. Ciao, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dod Sent: Sunday, April 06, 2008 1:55 PM To: ICS support mailing Subject: Re: [twsocket] UDP Newbie... Hello zayin, I tri

Re: [twsocket] UDP Newbie...

2008-04-06 Thread Dod
Hello zayin, I tried same sample as Wilfried and its OK for me. Are you sure your port was not in use at the time you tried to start the program ? "netstat -an" will show you all opened/listening port. if none is listening on your port then you application should "listen". regards. >>Did you

Re: [twsocket] UDP Newbie...

2008-04-06 Thread zayin
Hi, >Did you try the code that I have posted? Yes, copy and paste with: ...raised exception ESocketException with message Error 10049 in function bind address not available. Changing the ip address or port does not change the error. It gives the error on the "listen". Minutes later Now af

Re: [twsocket] UDP Newbie...

2008-04-06 Thread Wilfried Mestdagh
Hello Mark, if you look into source code you see that SendStr call Send, so it is exacly the same. I used SendStr just because I was lazy :) I tryed it on a machine with an older version of ICS, but it is exacly same result with latest version. Did you try the code that I have posted? It should w

Re: [twsocket] UDP Newbie...

2008-04-06 Thread zayin
Hello, How about with send and not sendStr? That is the only difference I see. And what version of ICS are you using? Cheers, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: Sunday, April 06, 2008 4:57 AM To: ICS suppo

Re: [twsocket] small but pertinent doubt

2008-04-06 Thread João Gonçalves
Thanks for the help. I you look into all these options and try to decide what's best. Regards, João -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: domingo, 6 de Abril de 2008 11:05 To: ICS support mailing Subject: Re: [twsocket] sm

Re: [twsocket] small but pertinent doubt

2008-04-06 Thread Wilfried Mestdagh
Hello João, No you do not need thread to implement some flow control. First of all you may not update visual controls from within a thread, so you have to execute all this code in main thread context as well. Oke you can do that by SendMessage or PostMessage. Then if you need to display a from pe

Re: [twsocket] UDP Newbie...

2008-04-06 Thread Wilfried Mestdagh
Hello Mark, I tryed to do the same as you listen with IP addres of same machine, and when I click the button, 'Hello' is received. This is the complete unit: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, WSocket; ty