[Israel.pm] receiving undef via socket

Tal Kelrich tal at musicgenome.com
Thu Aug 3 04:29:49 PDT 2006


On Thu, 3 Aug 2006 12:01:27 +0200
"Gabor Szabo" <szabgab at gmail.com> wrote:

> I am lost at this.
> 
> I have an application that is forking clients and talks to them via
> sockets. Ocassionally the client receives undef via the socket. I
> wonder why.

I can't offer much, other than the obvious suggestion to change that
first die to
die "socketpair: $!";

otherwise you might switch to using pipe instead, if you don't need
bidirectional communications.


-- 
Tal Kelrich
PGP fingerprint: 3EDF FCC5 60BB 4729 AB2F  CAE6 FEC1 9AAC 12B9 AA69
Key Available at: http://www.hasturkun.com/pub.txt
----
Reality always seems harsher in the early morning.
----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://perl.org.il/pipermail/perl/attachments/20060803/aad086d8/attachment.pgp 


More information about the Perl mailing list