apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <ad...@rowe-clan.net>
Subject Re: [PATCH] Some named pipe hacking...
Date Thu, 21 Jun 2001 15:53:57 GMT
From: "Luke Kenneth Casson Leighton" <lkcl@samba-tng.org>
Sent: Thursday, June 21, 2001 7:35 AM


> thanks bill!
> 
> recommendation.  use the actual expected format for pipename:
> pass in "\\.\\PIPE\pipename" _not_ "pipename" and have it
> hidden / constructed by apr.

APR is here to make folks cross-plaform development blindingly simple.  
And (for the most part) it does.  What you've proposed makes things far 
more difficult to follow.  Named unix pipes are local, no?  So the _Lowest 
Common Denominator_ says that our APR namedpipe implementation is to create 
local pipes.

If you want to create a cross-machine pipe architecture, then you must add
another function with char *machine, char *pipename semantics.  If you have
at least a rough outline of the implementation for this on unix.

One problem with using Netbios in any public environment is that the vast
majority of operators will clamp down on the Netbios ports of any public
machine outside the firewall.  This is for pretty good reasons, given the
paucity of security on that interface.

If you are looking for a cross-machine semantic, the underlying support must
also be cross-platform.  If you propose Samba for this, then fine, let's start
discussing that.

If this implementation is strictly for NT, please don't bloat code with things
you can do trivialy and faster with the native API.

Bill





Mime
View raw message