πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5588

Re: Indy TIdTCPServer creation at untime

#5588
From: Remy Lebeau (TeamB)
Date: Fri, 16 Jul 2004 20:51
23 lines
1634 bytes
"JοΏ½nior B. Dymow" <junior@specto.com.br> wrote in message
news:40f83bb1$1@newsgroups.borland.com...

> The point is: creating the TIdTCPServer object
> dinamically doesn't works.

Yes, it does, when used properly.

> When I connect a client application, the answer I have is:
> "No connection could be made because the target machine
> refused it (10061), on API 'connect'

Did you set up any Bindings first?

> When the component is on the form (with the same port,
> and the same OnExecute function assigned), it works fine.

There is no difference between creating the component at design-time vs.
run-time, other than the DFM streaming.


Gambit
Technical Details
Message-ID: <40f83fb3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40f822f9@newsgroups.borland.com> <40f831be$4@newsgroups.borland.com> <40f83bb1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,245bc6439db2ac9c
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <40f822f9@newsgroups.borland.com> <40f831be$4@newsgroups.borland.com> <40f83bb1$1@newsgroups.borland.com>
Subject: Re: Indy TIdTCPServer creation at untime
Date: Fri, 16 Jul 2004 13:51:46 -0700
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <40f83fb3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1090011059 68.69.17.41 (16 Jul 2004 13:50:59 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail