Article View: borland.public.cppbuilder.internet.socket
Article #3722Re: multiple declaration for fd_set
From: Remy Lebeau (TeamB)
Date: Fri, 29 Jul 2005 23:11
Date: Fri, 29 Jul 2005 23:11
14 lines
1556 bytes
1556 bytes
"Jonathan Benedicto" <incorrect@no.server> wrote in message news:42eaaae2$1@newsgroups.borland.com... > Move the Indy includes above the TServerSocket includes. That does not usually work, because the VCL includes windows.h, which in turn includes winsock.h before any VCL headers are included. If winsock.h is included before winsock2.h then all hell breaks lose with winsock2.h, as is evident by Sergey's original message. On the other hand, if winsock2.h is included before winsock.h, winsock2.h disables winsock.h and all is good. Gambit
Technical Details
Message-ID:
<42eab88b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newscon02.news.prodigy.com!prodigy.net!newshosting.com!nx02.iad01.newshosting.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42eaa240$1@newsgroups.borland.com> <42eaaae2$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,389415673120a5bd 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: <42eaa240$1@newsgroups.borland.com> <42eaaae2$1@newsgroups.borland.com> Subject: Re: multiple declaration for fd_set Date: Fri, 29 Jul 2005 16:11:25 -0700 Lines: 16 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: <42eab88b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1122678923 68.69.17.41 (29 Jul 2005 16:15:23 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newscon02.news.prodigy.com!prodigy.net!newshosting.com!nx02.iad01.newshosting.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail