Hello Mark,
> 1. Do I need two TWSocket? One to send and one to listen?
No you set it to Listen, and you can send and receive with the same.
> 2. Since this is broadcast, will I receive the data I transmit in the
> OnDataAvaliable callback?
Yes if you broadcast then you send to yourself also. S
Éric Fleming Bonilha wrote:
>
> Yeah, this problem is very hard to reproduce..
> On my app the problem apparently stopped when you changed that line
> of code last year,
It was a user who found this bug and the FIX (with AsyncSelect()).
> maybe Alexander is using an old version of ICS?
Yes, ma
Is there something special when using ICS TWSocket, TWSocketServer in delphi's
TService application? (I'm getting some bugs after migration to the service)
-
Special deal for Yahoo! users & friends - No Cost. Get a month of Blockbuster
Total Access now
--
Hi Wilfried,
Thanks for the reply.
>No you set it to Listen, and you can send and receive with the same.
I am having troubles.
I set the ip address of the TWSocket (UDP) to the correct address.
(192.168.243.1)
If I call listen and then try to send I get an error 10049 (Bind Address not
availa
Alexander,
I don´t think so..
My app is totally service and works the same way as like a normal app, we
didn´t made anything special
Éric
- Original Message -
From: "Alexander Makhanev" <[EMAIL PROTECTED]>
To:
Sent: Monday, March 31, 2008 1:30 PM
Subject: [twsocket] ICS and TService
> Is there something special when using ICS TWSocket, TWSocketServer
> in delphi's TService application? (I'm getting some bugs after migration
> to the service)
Nothing very special, at least about ICS programming. Of course you have to
pay attention to the fact the the service run under a diff
Im using ICS in a Tservice app without problems and without any special
treatment. Maybe you can tell us about the bugs you have to help you.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Alexander Makhanev
Sent: lunes, 31 de marzo de 2008 11:30 a.m.
To
I have tried assigning a procedure to handle this exception using your
suggestions, using this code:
-
HttpCli.CtrlSocket.OnBgException := ExErr;
...
procedure TForm1.ExErr(sender: TObject; E: Exception; var CanClose:
Boolean);
Begin
try
CanClose := False;
Label1.Caption := 'Exception error.';
exc