🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1254

Re: WSAStartup with threads

#1254
From: Eduardo Jauch
Date: Sat, 24 Feb 2007 03:45
10 lines
1364 bytes
Remy Lebeau (TeamB) escreveu:
> It doesn't really matter, as WinSock is reference counted.  Calling
> WSAStartup() and WSACleanup() in each thread will not hurt anything.
> Only the first call to WSAStartup() and the last call to WSACleanup()
> are important.  The rest are just adjusting the reference count.
> 
> 
> Gambit

Thanks :)
Technical Details
Message-ID: <45dfb4ae@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45df74be@newsgroups.borland.com> <45df89da@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,e3da03796ce7adb8
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 24 Feb 2007 01:45:34 -0200
From: Eduardo Jauch <eduardo.jauch@gmail.com>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: WSAStartup with threads
References: <45df74be@newsgroups.borland.com> <45df89da@newsgroups.borland.com>
In-Reply-To: <45df89da@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 201.3.108.252
Message-ID: <45dfb4ae@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1172288686 201.3.108.252 (23 Feb 2007 19:44:46 -0800)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail