🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #349

Re: TClientSocket, TServerSocket, background compiling

#349
From: Victor
Date: Fri, 07 Apr 2006 08:20
79 lines
3325 bytes
Hi Vladimir, I have yet added the TServerSocket component (addind the dclsocket100.bpl manually), and now I have these error when I compile my project.

[C++ Error] winsock2.h(113): E2238 Multiple declaration for 'fd_set'
[C++ Error] winsock.h(55): E2344 Earlier declaration of 'fd_set'
[C++ Error] winsock2.h(116): E2146 Need an identifier to declare
[C++ Error] winsock2.h(157): E2238 Multiple declaration for 'timeval'
[C++ Error] winsock.h(98): E2344 Earlier declaration of timeval'
 ...

Thanks.


Vladimir <zhuchko@jinr.ru> wrote:
>Victor wrote:
>> I have yet found JeffOvercash post, and I have added Tclientsocket and Tserversocket yet. But ...
>> 
>> When I compile my project I get many error from files winsock.h and winsock2.h. 
>> 
>> 
>> [C++ Error] winsock2.h(113): E2238 Multiple declaration for 'fd_set'
>> [C++ Error] winsock.h(55): E2344 Earlier declaration of 'fd_set'
>> [C++ Error] winsock2.h(116): E2146 Need an identifier to declare
>> [C++ Error] winsock2.h(157): E2238 Multiple declaration for 'timeval'
>> [C++ Error] winsock.h(98): E2344 Earlier declaration of 'timeval'
>> ...
>> 
>> 
>> Any idea?
>> 
>> Thanks!
>> 
>> 
>> "victor" <victor@cymonline.com> wrote:
>> 
>>>I get the same problem. Where�s the TServerSocket component?
>>>I�m upgrading a project from BCB6 to BCB2006 too.
>>>
>>>I don�t know what�s the Jeff Overcash post?
>>>
>>>Victor.
>>>
>>>
>>>
>>>"Robert G. Hoover" <not.a.real.address@anywhere.sorry> wrote:
>>>
>>>>Sorry, just saw the Jeff Overcash post...
>>>>
>>>>What about background compiling?
>>>>
>>>>
>>>>Thanks,
>>>>
>>>>Rob
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>Robert G. Hoover wrote:
>>>>
>>>>>I just upgraded from BCB6 to BCB2006 and I love the new stuff. But, I 
>>>>>can't find some of the old stuff.
>>>>>
>>>>>Has background compiling been removed?
>>>>>
>>>>>What happenned to TClientSocket and TServerSocket? I see a TTcpClient 
>>>>>and TTcpServer, but I don't see then in the help file. I see 
>>>>>TSocketConnection in the help file, but it says it's only for client. I 
>>>>>rely on these objects. Can anyone help me?
>>>>>
>>>>>Thanks,
>>>>>
>>>>>Rob
>>>
>> 
>The answer was before, you have to install manually dclsockets100.bpl, 
>this file presents in the $(BDS)/bin directory
Technical Details
Message-ID: <443620b1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <442c4334@newsgroups.borland.com> <442c44a0$1@newsgroups.borland.com> <443543c2$1@newsgroups.borland.com> <44354de5$1@newsgroups.borland.com> <4435fbc2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,a9332de604aab91d
X-Google-Attributes: gid10529a,public
X-Google-Language: ENGLISH,ASCII
From: "Victor" <victor@cymonline.com>
Sender: "Victor" <victor@cymonline.com>
Reply-To: "Victor" <victor@cymonline.com>
Subject: Re: TClientSocket, TServerSocket, background compiling
Newsgroups: borland.public.cppbuilder.upgrade
X-User-Info: 213.227.52.241     
References: <442c4334@newsgroups.borland.com> <442c44a0$1@newsgroups.borland.com> <443543c2$1@newsgroups.borland.com> <44354de5$1@newsgroups.borland.com> <4435fbc2$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <443620b1$1@newsgroups.borland.com>
Date: 7 Apr 2006 01:20:01 -0700
X-Trace: newsgroups.borland.com 1144398001 207.105.83.66 (7 Apr 2006 01:20:01 -0700)
Lines: 80
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail