projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
SYN SYN
[p5sagit/p5-mst-13.2.git]
/
ext
/
IO
/
lib
/
IO
/
Socket
/
UNIX.pm
diff --git
a/ext/IO/lib/IO/Socket/UNIX.pm
b/ext/IO/lib/IO/Socket/UNIX.pm
index
d083f48
..
2a11752
100644
(file)
--- a/
ext/IO/lib/IO/Socket/UNIX.pm
+++ b/
ext/IO/lib/IO/Socket/UNIX.pm
@@
-37,7
+37,7
@@
sub configure {
$sock->bind($addr) or
return undef;
}
- if(exists $arg->{Listen}) {
+ if(exists $arg->{Listen} && $type != SOCK_DGRAM) {
$sock->listen($arg->{Listen} || 5) or
return undef;
}