Article View: borland.public.cppbuilder.internet.socket
Article #1327Re: Using Winsock 2.0
From: Eduardo Jauch
Date: Thu, 22 Feb 2007 00:49
Date: Thu, 22 Feb 2007 00:49
17 lines
1286 bytes
1286 bytes
Remy Lebeau (TeamB) escreveu: > socket() returns a SOCKET handle, not an int. Ok :) > > You did not call WSAStartup() before calling socket(). You must do > so, in order to specify the version of WinSock that you want to use, > and to validate that it is actually available. Yes. That was my fault. :) > 10093 is WSANOTINITIALISED. > Now I know ;) Thanks :)
Technical Details
Message-ID:
<45dce884$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45dc601b$1@newsgroups.borland.com> <45dc8f52$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a28f1afb8b745a2a X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 21 Feb 2007 22:49:52 -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: Using Winsock 2.0 References: <45dc601b$1@newsgroups.borland.com> <45dc8f52$1@newsgroups.borland.com> In-Reply-To: <45dc8f52$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 201.89.71.229 Message-ID: <45dce884$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1172105348 201.89.71.229 (21 Feb 2007 16:49:08 -0800) Lines: 17 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail