Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jan : Re: TIdHTTP.Get raising EIDCouldNotBindSocket
| Subject: | Re: TIdHTTP.Get raising EIDCouldNotBindSocket |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 8 Jan 2008 10:20:36 |
"Marcelo Grossi" <magrossi@aralia.co.uk> wrote in message
news:4783a91b$1@newsgroups.borland.com...
> I do not set BoundIP, BoundPort, BoundPortMin or
> BoundPortMax.
Then you cannot be getting that error. It is a binding error, and binding
only occurs when those properties are set.
> So I assumed that this was to be done automatically by
> Winsock who would chose the best port availiable for the
> job.
That is exactly what it does, and is why you cannot get that error when not
specifyng your own binding values. The OS cannot return an error code of
WSAEADDRINUSE if it is the one picking the settings to begin with.
Gambit
none