Lots of things said in the first reply is actually wrong. select does not have the magic to redirect standard output. I guess you are trying your program on a PC, if that's the case, now select does not work for windows. Your program simply hangs at that select (remove it, you will see what happens)
I only read the first several paragraphes of the first reply, the conceptual part. So I am not commenting on those sample codes.
Couple other trival tips:In reply to Re: Perl socket server problem
by pg
in thread Perl socket server problem
by pego
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |