The stupid question is the question not asked | |
PerlMonks |
Win98 socket woesby Dinosaur (Beadle) |
on Apr 08, 2002 at 13:22 UTC ( [id://157430]=perlquestion: print w/replies, xml ) | Need Help?? |
Dinosaur has asked for the wisdom of the Perl Monks concerning the following question: Sort of in the same vein as Bi directional Socket question: I can't get a pair of processes to communicate by socket, under Win98 with ActiveState perl 5.6.1. I've read the Perl Cookbook ch. 17 advice, and also the relevant sections of Mastering perl/Tk (since that's what I'm trying to do, move some heavy lifting to a separate process so as not to slow down GUI response). What I'm doing, I think, is right in line with their recommendations. I've tried various permutations of parameters, with no success. Code is below. When I run it, I get the following messages:
... of which the failed read in the child seems to be the smoking gun. "Invalid argument" presumably refers to the file handle -- but what's its problem? If anyone here can take a minute to look at the attached code snippet, I'd be grateful. --Dinosaur
Back to
Seekers of Perl Wisdom
|
|