Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Re: Creating TCP server with blocking Indy components?

www.cryer.info
Managed Newsgroup Archive

Re: Creating TCP server with blocking Indy components?

Subject:Re: Creating TCP server with blocking Indy components?
Posted by:"Bo Berglund" (bo.berglu..@telia.com)
Date:Sat, 24 Mar 2007 00:31:56

>> Is there any docs besides the help file in Delphi7?
>
>Indy has its own documentation that you can download from Indy's
>website, or view online.

Just downloaded the docs. My-oh-my, it is a 3187 page PDF file and no
really useful indexing either....
I need working examples, I think.

... snip ...

>> OK, so OnExecute is an event that gets fired when?
>
>Repeatedly in an endless loop for the lifetime of the connection.
>Again, read the documentation.

OK, so the event fires by itself also with no data being received???
Strange.

... snip ...

>> Development snapshot sounds like an unstable beta. Can it be
>> used also for production code?
>
>Yes.

It contains a lot of extraneous files as well, which the 9.0.18 zip
does not. Are there real improvements to the dev snapshot?

>> This server must not allow more than one client to connect in
>> order not to mix up the machine tools. How can I separate them
>> by disallowing a connect if one is already established?
>
>TIdTCPServer has a MaxConnections property that handles that
>automatically.  Simply set it to 1.

I'll try that.

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive