Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: What is a socket?

www.cryer.info
Managed Newsgroup Archive

Re: What is a socket?

Subject:Re: What is a socket?
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 19 Jun 2006 10:54:06

"Richard Bibby" <richard.bibby@profdoc.se> wrote in message
news:4496b9f4$1@newsgroups.borland.com...

> Cound not bind socket Address and port are already in use.

That should not be happening, unless you are setting the BoundIP and/or
BoundPort properties on the TIdHTTP.

Also, you did not say which specific version and build of Indy you are using
in the first place.

> Socket error # 10038. Socket operation on non-socket.
> Socket error # 10022. Invalid argument.

You did not show the code yet.  Please do so.

> If I understand you correctly there is no problem having a
> tidHTTPServer component running in a service application
> that also has a timer event that can trigger a call to idHTTP
> to do a Post.

I do not recommend using timers (TTimer in particular) inside of services.
But yes, TIdHTTPServer and TIdHTTP can coexist in a service (or any other
project type, for that matter).


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive