28 Apr, 2009, Tyche wrote in the 21st comment:
Votes: 0
Scandum said:
No luck with teensyMUD on Cygwin either.
09-04-27 14:54:34 [FATAL] (Acceptor) Caught Errno::EINVAL: Invalid argument
./lib/network/acceptor.rb:38:in `setsockopt'


Line 38 and 39 in ./lib/network/acceptor.rb should be changed to…
# @sock.setsockopt(Socket::SOL_SOCKET, Socket::SO_REUSEADDR, true)
@sock.setsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER, [0,0].pack('ii'))
28 Apr, 2009, Scandum wrote in the 22nd comment:
Votes: 0
Tyche said:
Line 38 and 39 in ./lib/network/acceptor.rb should be changed to…
# @sock.setsockopt(Socket::SOL_SOCKET, Socket::SO_REUSEADDR, true)
@sock.setsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER, [0,0].pack('ii'))

Still getting the same error, could be a Cygwin thing though.
28 Apr, 2009, Tyche wrote in the 23rd comment:
Votes: 0
Scandum said:
Tyche said:
Line 38 and 39 in ./lib/network/acceptor.rb should be changed to…
# @sock.setsockopt(Socket::SOL_SOCKET, Socket::SO_REUSEADDR, true)
@sock.setsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER, [0,0].pack('ii'))

Still getting the same error, could be a Cygwin thing though.


Works for me. Are you sure you commented out line 38 like it is above?
The original problem is a change in the ruby sockets interface that occurred sometime after version 1.8.4.
The above should work on all versions of ruby up to and including version 1.8.7
28 Apr, 2009, Scandum wrote in the 24th comment:
Votes: 0
Doh, I indeed didn't comment out line 38.

Works like a charm:

ZMP RECV zmp_ident (TeensyMUD) (2.10.0) (A sexy mud server)
14 May, 2009, Banner wrote in the 25th comment:
Votes: 0
I thought Zero Point Module for a minute… *cough*
20.0/25