Article View: comp.os.ms-windows.programmer.win32
Article #2085Re: Sockets don't work under VC++ 4.0 ?!!
From: Brad Wilson
Date: Tue, 16 Jan 1996 01:22
Date: Tue, 16 Jan 1996 01:22
24 lines
1391 bytes
1391 bytes
Gavin Williams <gavin@metronet.com> wrote:
>> I finally got around to doing a little Windows Sockets programming in VC++
>> 4.0 today and was quickly greeted with an ugly problem--I can't get it to
>> create a socket.
>> The CSocket::Create() function consistently failed, and
>> CSocket::GetLastError() returned WSAEPROTOTYPE. I tried running the CHATTER
>> sample program, and its socket creation failed with the same error.
Do you have TCP/IP installed on the machine?
Brad
--
class CBradWilson : public CWorldWatchProgrammingTeam {
public:
CString GetInetAddr() { return CString("bradw@exptech.com"); }
CString GetPhone() { return CString("+1 (810) 620-9803"); }
CString GetURL() { return CString("http://www.exptech.com"); }
CString GetDisclaimer() { return CString("All I say is fact :-p"); }
};
// QOTW: "There is no right or wrong ... just popular opinion"
Technical Details
Message-ID:
<4deur0$6s2@news2.acs.oakland.edu>Path:
arc1-ca.pugleaf.net!news2.acs.oakland.edu!newsReferences:
<30F8A8B9.279B@metronet.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news2.acs.oakland.edu!news From: bradw@exptech.com (Brad Wilson) Newsgroups: comp.os.ms-windows.programmer.win32,comp.lang.c++ Subject: Re: Sockets don't work under VC++ 4.0 ?!! Date: Tue, 16 Jan 1996 01:22:34 GMT Organization: Express Technologies Corp. Message-ID: <4deur0$6s2@news2.acs.oakland.edu> References: <30F8A8B9.279B@metronet.com> NNTP-Posting-Host: ppp-pm01-dy-6.opr.oakland.edu X-Newsreader: Forte Free Agent 1.0.82