Article View: borland.public.cppbuilder.nativeapi
Article #16573Number of open files
From: Elias Berelian
Date: Wed, 07 May 2003 14:53
Date: Wed, 07 May 2003 14:53
13 lines
1531 bytes
1531 bytes
I use BC++B 5. But run the exe in NT, 98, 2000, and XP. The problem I have is that I have to open more than 50 (but less than 100) files. Most files I open at startup. But a few files I open while running. I also open server sockets (about 100) on different ports. My first question is why I don't get the "too many files open" as is DOS/C? What is the best way to increase the allowable number? (Besides editing _nfiles.h and resetting _NFILE_.) Is there a way to figure out how many files are open? What contributes to this number? (e.g. Does opening a socket count as an open file? How about a COM port?) Am I in the right newsgroup? Regards, Elias
Technical Details
Message-ID:
<3eb91dac@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,4a778e4dfe043211,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-07 08:00:13 PST From: "Elias Berelian" <elias@snetnsa.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Number of open files Date: Wed, 7 May 2003 10:53:25 -0400 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 204.60.2.25 Message-ID: <3eb91dac@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1052319148 204.60.2.25 (7 May 2003 07:52:28 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail