Article View: borland.public.cppbuilder.internet.socket
Article #5824Re: Threads and Indy v9 NNTP->GetBody
From: anthony
Date: Sat, 31 May 2003 14:41
Date: Sat, 31 May 2003 14:41
39 lines
2491 bytes
2491 bytes
Yes I know about the limit of simultaneous connections. The server I want to use accepts at least 4 connections. Each connection is going to have its own thread, which will create its own NNTP Client (TIdNNTP). When I use MyNNTP = new TIdNNTP; in the Execute function of TThread and compile the project I get the error message, [C++ Error] threads1.cpp(57): E2285 Could not find a match for 'TIdNNTP::TIdNNTP()'. I have TIdNNTP *MyNNTP; in the private section of the TThread class. Where am I going wrong? The application is going to end up as console app so I don't want to start dragging NNTP clients onto a form. Thanks Anthony "Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message news:3ed500b4$1@newsgroups.borland.com... > > "Chad Z. Hower aka Kudzu" <cpub@hower.org> wrote in message > news:Xns9389E13BF9B11cpub@127.0.0.1... > > > Many NNTP servers limit the number of simulteaneous > > connections per IP though, so watch out for connection refusals. > > True enough. That is why newsreaders that support multiple connections > usually provide an option to allow the user to specify the maximum number of > connections to make at a time :-) > > > Gambit > >
Technical Details
Message-ID:
<3ed8bf6a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3ed3f293$1@newsgroups.borland.com> <3ed3fd3c$1@newsgroups.borland.com> <Xns9389E13BF9B11cpub@127.0.0.1> <3ed500b4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11508e,d0af1d6930cf27c2 X-Google-Attributes: gid11508e,public X-Google-Thread: 1036eb,d0af1d6930cf27c2 X-Google-Attributes: gid1036eb,public X-Google-ArrivalTime: 2003-05-31 07:52:06 PST From: "anthony" <anthony@nospam.com> Newsgroups: borland.public.cppbuilder.internet.socket,borland.public.delphi.internet.winsock References: <3ed3f293$1@newsgroups.borland.com> <3ed3fd3c$1@newsgroups.borland.com> <Xns9389E13BF9B11cpub@127.0.0.1> <3ed500b4$1@newsgroups.borland.com> Subject: Re: Threads and Indy v9 NNTP->GetBody Date: Sat, 31 May 2003 15:41:43 +0100 Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 80.4.211.205 Message-ID: <3ed8bf6a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054392170 80.4.211.205 (31 May 2003 07:42:50 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail