Article View: be.comp.programming
Article #4791Re: Winsock 2 sockets lezen en schrijven
From: Bart Vandewoestyne
Date: Sat, 12 Jul 2003 22:19
Date: Sat, 12 Jul 2003 22:19
17 lines
1844 bytes
1844 bytes
Tim Van Wassenhove wrote:
>
> En als je gebruikt maakt van winsock.h moet je ook nog eerst een
> WSADATA structuur initialiseren voor je iets uit die libary gebruikt...
>
> WSADATA ws;
> if (WSAStartup(MAKEWORD(1,1),&ws) != 0) {
> fprintf(stderr,"WSAStartup failed.\n");
> exit(1);
> }
Ik gebruik momenteel winsock2.h. Is dat daar niet meer nodig misschien?
(zal het seffens eens proberen). Ik dacht dat ik dat in mijn code
gezet had om het te doen werken...
Greetzzz,
mc303
Technical Details
Message-ID:
<3F108985.5090609@pandora.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!syros.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mailReferences:
<3F10388C.7040300@pandora.be> <3f103afe$0$6526$afc38c87@sisyphus.news.be.easynet.net> <beph98$6snca$1@ID-188825.news.uni-berlin.de>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,26d33d3b700995c6 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-07-12 15:19:50 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!syros.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail From: Bart Vandewoestyne <Bart.VandewoestyneNOSPAM@pandora.be> Newsgroups: be.comp.programming Subject: Re: Winsock 2 sockets lezen en schrijven Date: Sun, 13 Jul 2003 00:19:49 +0200 Organization: KULeuvenNet Lines: 18 Message-ID: <3F108985.5090609@pandora.be> References: <3F10388C.7040300@pandora.be> <3f103afe$0$6526$afc38c87@sisyphus.news.be.easynet.net> <beph98$6snca$1@ID-188825.news.uni-berlin.de> NNTP-Posting-Host: seven.kulnet.kuleuven.ac.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: naxos.belnet.be 1058048389 16593 134.58.127.12 (12 Jul 2003 22:19:49 GMT) X-Complaints-To: abuse@belnet.be NNTP-Posting-Date: Sat, 12 Jul 2003 22:19:49 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; WinNT; en; rv:1.0.2) Gecko/20030311 Beonex/0.8.2-stable X-Accept-Language: en-us, en Cache-Post-Path: seven.kulnet.kuleuven.ac.be!unknown@localhost X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)