Article View: borland.public.cppbuilder.internet.socket
Article #5380Re: Winsock2 API
From: Remy Lebeau (TeamB)
Date: Wed, 25 Aug 2004 19:13
Date: Wed, 25 Aug 2004 19:13
17 lines
1471 bytes
1471 bytes
"Jeremiah Gowdy" <jeremiah@freedomvoice.com> wrote in message news:412ce1c8$1@newsgroups.borland.com... > I am trying to convert some of my Winsock code to use > Winsock2 API calls, but because Borland chooses to include > winsock.h if you include any .hpp files, I get massive conflicts > between winsock.h and winsock2.h. What is the recommended > way to implement Winsock2 usage in Borland C++ Builder 6.0 > Enterprise? Don't include anything that uses winsock.h to begin with. Also, if winsock2.h gets included before winsock.h does, winsock2.h will disable winsock.h. Gambit
Technical Details
Message-ID:
<412ce577$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<412ce1c8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f5b6352dd04b2bfd X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <412ce1c8$1@newsgroups.borland.com> Subject: Re: Winsock2 API Date: Wed, 25 Aug 2004 12:13:37 -0700 Lines: 19 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: <412ce577$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1093461367 68.69.17.41 (25 Aug 2004 12:16:07 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail