Problems? Is your data what you think it is? | |
PerlMonks |
Re: problem with UNIX Domain socketsby gmargo (Hermit) |
on Dec 19, 2009 at 10:04 UTC ( [id://813503]=note: print w/replies, xml ) | Need Help?? |
For streams, use SOCK_STREAM and accept(). (See TCP server in Cookbook.) For datagrams, use SOCK_DGRAM and recv(). (See UDP server in Cookbook.) You are mixing SOCK_DGRAM and accept().
In Section
Seekers of Perl Wisdom
|
|