Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Jan : idHTTPServer pick random port

www.cryer.info
Managed Newsgroup Archive

idHTTPServer pick random port

Subject:idHTTPServer pick random port
Posted by:"GS" (info@no-spam-.com)
Date:2 Jan 2007 13:02:47

Hello,

With the TServerSocket component if I assign port # 0 to the component,
it will pick a random available port to listen on.
Does idHttpServer work the same ?
If so then after I set the idHTTPServer active property to
true, how can I find out what port it is listening on ?

Thanks

--

Replies:

www.cryer.info
Managed Newsgroup Archive