TeensyMud - 'A ruby mud server.'

Subject: Rocketmud errors.
Subject: Rocketmud errors.
Author: Zonbidesu
Posted: 01/18/2009 02:11AM

I'm sorry if this isn't the right place to talk about RocketMUD (it probably isnt >_>) but I have some problems.

rocket.rb:302:in `setsockopt': Invalid argument (Errno::EINVAL)
from rocket.rb:302

The server seems to keep open, but I can't connect to it from the same comp. Any help/fix?

RocketMUD-0.2 release.

Also, Tyche, you are the Cratylus of Ruby MUDs!

reply
Subject: Rocketmud errors.
Author: Tyche
Posted: 01/19/2009 03:38AM

Zonbidesu wrote:
> I'm sorry if this isn't the right place to talk about RocketMUD (it probably isnt >_>) but I have some problems.
>
> rocket.rb:302:in `setsockopt': Invalid argument (Errno::EINVAL)
> from rocket.rb:302
>

Maybe I'll create a RocketMud? forum... anyway TeensyMud contains the same bug.

Line 302
servsock.setsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER, false)
should be replaced by...
servsock.setsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER, [0,0].pack('ii'))



reply
Subject: Rocketmud errors.
Author: Konji
Posted: 02/09/2009 10:25PM

Tyche wrote:
> Zonbidesu wrote:
> > I'm sorry if this isn't the right place to talk about RocketMUD (it probably isnt >_>) but I have some problems.
> >
> > rocket.rb:302:in `setsockopt': Invalid argument (Errno::EINVAL)
> > from rocket.rb:302
> >
>
> Maybe I'll create a RocketMud? forum... anyway TeensyMud contains the same bug.
>
> Line 302
> servsock.setsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER, false)
> should be replaced by...
> servsock.setsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER, [0,0].pack('ii'))
>

Yeah... whats up? Is there a workaround?

reply