forks/pipes and std.socket
Nick Sabalausky
a at a.a
Sun Sep 5 13:32:28 PDT 2010
This may be a stupid question:
Does std.socket encorporate or replace pipe usage? Ie, if I'm going to do
something along the lines of (psuedo-code):
auto parentToChild = pipe();
auto childToParent = pipe();
if(fork())
{
// talk to other process
}
else
{
// talk to other process
}
Is there anything in std.socket, or any way of using it that would aid in
this sort of thing (ideally in a cross-platform way), or is it entirely
orthogonal to this?
Does anyone who's done this sort of thing in D before, on Win or Lin, know
of anything else in particular to be aware of?
More information about the Digitalmars-d-learn
mailing list