Article View: borland.public.cppbuilder.internet.socket
Article #1182Re: recv() stops blocking/no events detected.
From: Remy Lebeau (TeamB)
Date: Tue, 24 Apr 2007 16:24
Date: Tue, 24 Apr 2007 16:24
18 lines
1418 bytes
1418 bytes
"Andrue Cope" <no.spam@not.a.valid.address> wrote in message news:462dfd7f@newsgroups.borland.com... > myThreadID(GetCurrentThreadId()) You are retreiving the ID of the thread that calls the constructor, not the ID of the thread being created. > DWORD eventID=WSAWaitForMultipleEvents(1, > &myNetworkEvent,FALSE,WSA_INFINITE,FALSE); > [snip] You did not call WSASelectEvent() first to specify which socket event(s) are to be associated with the event object. Gambit
Technical Details
Message-ID:
<462e2f4b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<462dfd7f@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,757efd80047970e6 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <462dfd7f@newsgroups.borland.com> Subject: Re: recv() stops blocking/no events detected. Date: Tue, 24 Apr 2007 09:24:29 -0700 Lines: 20 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: 75.82.60.244 Message-ID: <462e2f4b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1177431883 75.82.60.244 (24 Apr 2007 09:24:43 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail