SOCK_DGRAM and listen() do not mix as reported in
[p5sagit/p5-mst-13.2.git] / pod / perlipc.pod
index 47556a5..94b6bde 100644 (file)
@@ -745,6 +745,7 @@ go back to service a new client.
                at port $port";
 
        spawn sub {
+           $|=1;
            print "Hello there, $name, it's now ", scalar localtime, $EOL;
            exec '/usr/games/fortune'           # XXX: `wrong' line terminators
                or confess "can't exec fortune: $!";
@@ -1304,7 +1305,7 @@ with TCP, you'd have to use a different socket handle for each host.
 Note that this example does not include any retries and may consequently
 fail to contact a reachable host. The most prominent reason for this
 is congestion of the queues on the sending host if the number of
-list of hosts to contact is sufficietly large.
+list of hosts to contact is sufficiently large.
 
 =head1 SysV IPC