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

Comparing deliantra/server/ext/tcp.ext (file contents):
Revision 1.8 by root, Wed Nov 14 08:09:46 2007 UTC vs.
Revision 1.9 by root, Sat Nov 24 05:57:09 2007 UTC

8use IO::Socket::INET; 8use IO::Socket::INET;
9 9
10our $LISTEN = new IO::Socket::INET 10our $LISTEN = new IO::Socket::INET
11 LocalPort => cf::settings->csport, 11 LocalPort => cf::settings->csport,
12 Listen => 1, 12 Listen => 1,
13 Blocking => 0, # bugfix workaround for Event calling handler twice :( 13 Blocking => 0,
14 ReuseAddr => 1; 14 ReuseAddr => 1;
15 15
16if (!$LISTEN) { 16if (!$LISTEN) {
17 # extension yes, completely stupid, not yet 17 # extension yes, completely stupid, not yet
18 warn "unable to establish listen socket, exiting.\n"; 18 warn "unable to establish listen socket, exiting.\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines