Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Re: how to differentiate clients on same address?
| Subject: | Re: how to differentiate clients on same address? |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 6 Mar 2007 10:50:16 |
"API" <ari.pikivirta@kolumbus.fi> wrote in message
news:45ed85a0$1@newsgroups.borland.com...
> how to differentiate clients on same address?
A socket is uniquely identified by both the IP/Port that it is locally
bound to, and the IP/Port that it is connected to.
> for example; if same address connects to the ftp server using
> multiple clients (as they usually) do, it works perfectly - but
> for logging purposes i should have some other ID to separate
> these clients (asender/tidcontext) - is there any easy way to
> solve this?
Other than the username that is logging in, there is no other
identifier available for an FTP connection. You have to create your
own if you need more than that.
Gambit