Mail Archives: djgpp/1999/08/24/17:27:23
Eli Zaretskii wrote:
> On Mon, 23 Aug 1999, Campbell, Rolf [SKY:1U32:EXCH] wrote:
>
> > Open Notepad. Try to open "\\foo". You will get a quick responce that it
> > can't be opened.
> > Try to open "C:\\foo" and it will wait for at least 5 seconds before telling
> > you that it can't be opened.
>
> It doesn't prove anything, just that \\foo is resolved quickly while
> C:\\foo isn't. This is a function of the name you feed Windows and also
> of your specific network configuration.
> The fact is that (as somebody here reported) during the wait the machine
> sends network packets. Search the archives of this group, and you will
> find several reports like that. I have just seen a message several month
> ago that reported accesses to the LAN being done by collect2 from one of
> the EGCS 1.x releases ported to DJGPP.
I think you misunderstood me. I wasn't saying that it wasn't network
related. All I was saying was that network time-out's are usually much shorter
than 5 seconds (especially for invalid machine names). I don't understand why
Windows would treat C:\\name different than \\name, as you have pointed out
earlier that "C:" gets added to the beginning anyways (or whatever drive is the
default), before UNC identification.
I agree that C:\\foo and C:\/foo both cause network traffic, but I don't
understand why Windows waits longer for "C:\\foo" than for "\\foo".
--
-Rolf Campbell (39)3-6318
- Raw text -