🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6395

Re: Response not in que?

#6395
From: Remy Lebeau (TeamB)
Date: Thu, 12 May 2005 18:18
22 lines
1983 bytes
"Neil P." <nporve01@hotmail.com> wrote in message
news:4283946a$1@newsgroups.borland.com...

> If I open the port with CreateFile and I specify File_Flag_Overlapped,
> but my file operations are not I/O Overlapped, what could happen?

The file operations will always fail.  If you specify FILE_FLAG_OVERLAPPED,
then you *must* use overlapped I/O when performing the operations.  That is
an OS requirement.

> Can I make the writefile operation I/O Overlapped and the readfile not?

No.

> If I make the writefile non-overlapped and do a write, is there a
> possibility that it will hang the application? How about the read?

That is what timeouts are for.


Gambit
Technical Details
Message-ID: <42839db4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <427fa27e@newsgroups.borland.com> <vugv711ona1kdbekucqqkg6csqkcd4agrd@4ax.com> <427fca8b$1@newsgroups.borland.com> <ukjv71lvb2s28pvi34r21cf1loa8nsqfnv@4ax.com> <427fd7cf$1@newsgroups.borland.com> <ainv71tis6a7m0pugjr1218hchvoha332j@4ax.com> <427ff5f0$1@newsgroups.borland.com> <pha081p0llphlf254k6go823dl1k37sede@4ax.com> <4283946a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,369fa724017da622
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <427fa27e@newsgroups.borland.com> <vugv711ona1kdbekucqqkg6csqkcd4agrd@4ax.com> <427fca8b$1@newsgroups.borland.com> <ukjv71lvb2s28pvi34r21cf1loa8nsqfnv@4ax.com> <427fd7cf$1@newsgroups.borland.com> <ainv71tis6a7m0pugjr1218hchvoha332j@4ax.com> <427ff5f0$1@newsgroups.borland.com> <pha081p0llphlf254k6go823dl1k37sede@4ax.com> <4283946a$1@newsgroups.borland.com>
Subject: Re: Response not in que?
Date: Thu, 12 May 2005 11:18:23 -0700
Lines: 24
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: 68.69.17.41
Message-ID: <42839db4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115921844 68.69.17.41 (12 May 2005 11:17:24 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail