Article View: borland.public.cppbuilder.internet.socket
Article #4936Re: Dynamic Socket creation
From: Remy Lebeau (TeamB)
Date: Thu, 18 Nov 2004 17:16
Date: Thu, 18 Nov 2004 17:16
19 lines
1467 bytes
1467 bytes
"Dev Support" <infsoft@centurytel.net> wrote in message
news:419cbc46$1@newsgroups.borland.com...
> The error, I now get is
>
> [C++ Error] sock100.cpp(13): E2285 Could not find
> a match for 'TClientSocket::TClientSocket()'
You have to specify an Owner for the TClientSocket:
sock[c] = new TClientSocket(SomeOwnerHere);
The Owner manages the TClientSocket's memory. When the Owner is freed, the
TClientSocket is automatically freed as well. If you want to manage the
memory yourself, you can specify NULL as the Owner.
Gambit
Technical Details
Message-ID:
<419cd869@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<419bc484$1@newsgroups.borland.com> <419bc640$1@newsgroups.borland.com> <419cbc46$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5836520d8672abcd X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <419bc484$1@newsgroups.borland.com> <419bc640$1@newsgroups.borland.com> <419cbc46$1@newsgroups.borland.com> Subject: Re: Dynamic Socket creation Date: Thu, 18 Nov 2004 09:16:09 -0800 Lines: 21 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: <419cd869@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100798057 68.69.17.41 (18 Nov 2004 09:14:17 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail