ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/dm-support.ext
(Generate patch)

Comparing deliantra/server/ext/dm-support.ext (file contents):
Revision 1.16 by root, Wed Nov 14 08:09:46 2007 UTC vs.
Revision 1.17 by root, Sat Nov 24 05:58:40 2007 UTC

87 87
88our $LISTENER; 88our $LISTENER;
89 89
90# now a shell listening on a tcp-port - let the firewall decide access rights 90# now a shell listening on a tcp-port - let the firewall decide access rights
91if ($cf::CFG{perl_shell}) { 91if ($cf::CFG{perl_shell}) {
92 if (my $listen = new IO::Socket::INET LocalAddr => $cf::CFG{perl_shell}, Listen => 1, ReuseAddr => 1) { 92 if (my $listen = new IO::Socket::INET LocalAddr => $cf::CFG{perl_shell}, Listen => 1, ReuseAddr => 1, Blocking => 0) {
93 $LISTENER = EV::io $listen, EV::READ, sub { tcp_serve $listen->accept }; 93 $LISTENER = EV::io $listen, EV::READ, sub { tcp_serve $listen->accept };
94 } 94 }
95} 95}
96 96
97 97

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines