Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: idTCPClient & idTCPServer
| Subject: | Re: idTCPClient & idTCPServer |
| Posted by: | "Ian Groves" (ian@remove_this_bitigroves.f9.co.uk) |
| Date: | Tue, 15 Aug 2006 14:20:49 |
Could you point me in the direction of a simple example.
Many Thanks
"Martin James" <nospam@dial.pipex.com> wrote in message
news:44e1c6b8$1@newsgroups.borland.com...
>
>>
>> When 2 clients connect i cant determine which one I am dealing with as
>> aUsername and aPassword are clearerd each time some data is sent, I
>> presume i need to attach this info to AContext somehow,
>
> Exactly.
>
> but how do I do this.
>
> These 'socket context' thingies can usually be descended from to give
> extra fields or contain an auxiliary 'data' pointer or object reference
> that can contain a record/object that holds connection-specific data. It
> is common to create such an object upon initial connection.
>
> Rgds,
> Martin