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

Comparing deliantra/maps/perl/dm-support.ext (file contents):
Revision 1.6 by root, Thu Sep 14 18:14:57 2006 UTC vs.
Revision 1.7 by root, Mon Oct 2 16:55:35 2006 UTC

36 } 36 }
37 }); 37 });
38} 38}
39 39
40# now a shell listening on a tcp-port - let the firewall decide access rights 40# now a shell listening on a tcp-port - let the firewall decide access rights
41if ($cf::CFG{perl_shell}) {
41if (my $listen = new IO::Socket::INET LocalAddr => "127.0.0.1:13322", Listen => 1, ReuseAddr => 1) { 42 if (my $listen = new IO::Socket::INET LocalAddr => $cf::CFG{perl_shell}, Listen => 1, ReuseAddr => 1) {
42 Event->io (fd => $listen, poll => 'r', cb => sub { tcp_serve $listen->accept }); 43 Event->io (fd => $listen, poll => 'r', cb => sub { tcp_serve $listen->accept });
44 }
43} 45}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines