🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TClientSocket, TServerSocket, background compiling

#351
From: Victor
Date: Fri, 07 Apr 2006 09:20
100 lines
4091 bytes
Thakns Vladimir, that�s the problem. I have included winsock2.h in "windows.h" file and it�s ok. 

I have write to your personal mail, but your server has rejected my mail as a spam. Well, no problem.

 Thanks. 


Vladimir <zhuchko@jinr.ru> wrote:
>Yes, I know this problem.
>The simplest solution, I am using, look for the #include "winsock.h" 
>within the windows.h file and rename to the winsock2.h.
>The other is will try to change the order of include files, the files 
>with the winsock.h has to be before winsock2.h
>
>Victor wrote:
>> 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: <44362ed4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!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> <443620b1$1@newsgroups.borland.com> <44362545@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> <443620b1$1@newsgroups.borland.com> <44362545@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44362ed4$1@newsgroups.borland.com>
Date: 7 Apr 2006 02:20:20 -0700
X-Trace: newsgroups.borland.com 1144401620 207.105.83.66 (7 Apr 2006 02:20:20 -0700)
Lines: 101
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail