I have asked about exceptions raised by the components code. They are all
raised as :

raise ESocketError.CreateFmt(sWindowsSocketError,
[SysErrorMessage(ErrorCode), ErrorCode, 'WSACleanup']);

If there are 10 connections, all doing something, and then exception like
that is raised, you do not know which socket instance caused it.

Alex

----- Original Message -----
From: Coulter, Jeremy <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Monday, August 23, 1999 1:26 PM
Subject: RE: [DUG]: Sockets


> Each of them should have a diff. socket number when they connect.
> that might help when reporting errors....i.e. incluse the socket number in
> the error
>
> Jeremy Coulter
> Application Developer
>
> Application Development Centre
> Compaq Computer New Zealand Ltd.
>
> Phone: 64 3 371 5724
> Fax:     64 3 371 5724
> Mobile:       64 0212533214
> E-mail: [EMAIL PROTECTED]
> Personal Email: [EMAIL PROTECTED]
>
>
>
> -----Original Message-----
> From: Alex Kouznetsov [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 23, 1999 12:00 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Sockets
>
>
> Hi
>
> Delphi 4 socket components raise exceptions. In the situation when
multiple
> socket components are used, say in the multi-user server program, how to
> figure out which one raised an exception ?
>
> Thanks
> Alex
>
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to