Article View: borland.public.cppbuilder.internet.socket
Article #5038Re: select() & ioctlsocket() problem
From: PaoloItaly
Date: Mon, 25 Oct 2004 06:47
Date: Mon, 25 Oct 2004 06:47
10 lines
1248 bytes
1248 bytes
fd_set read_fd; FD_ZERO(&read_fd); FD_SET(sock, &read_fd); ret = ::select(sock+1, &read_fd, NULL, NULL, NULL); ret is ALWAYS 1 ::WSAEventSelect(s->socket, s->event, FD_CLOSE); ::WSAWaitForMultipleEvents(1, event, FALSE, 0, FALSE); Work ! Thanks
Technical Details
Message-ID:
<417ca194$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!38.119.100.83.MISMATCH!news-out1.nntp.be!propagator2-sterling!in.nntp.be!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4178ed30@newsgroups.borland.com> <417aad3c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,594e3ed9f24a168f X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "PaoloItaly" <paolot@FAKETHESPAMMERsirius-es.it> Newsgroups: borland.public.cppbuilder.internet.socket References: <4178ed30@newsgroups.borland.com> <417aad3c$1@newsgroups.borland.com> Subject: Re: select() & ioctlsocket() problem Date: Mon, 25 Oct 2004 08:47:25 +0200 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 82.105.234.125 Message-ID: <417ca194$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1098686868 82.105.234.125 (24 Oct 2004 23:47:48 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!38.119.100.83.MISMATCH!news-out1.nntp.be!propagator2-sterling!in.nntp.be!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail