I've noticed there is a TOME binary for the MIPS architecture... anyone know if there is one for TomeNET?
Much appreciated,
ezdagor
TomeNET MIPS binary..
Re: TomeNET MIPS binary..
Nope. But you should have no trouble building it from source. Just disable the irrelevant stuff (like: probably X11) in the make file.
I was running tomenet on one of these for a long time. On the other hand, if you're looking for a windows CE binary, that might be more difficult to get up and running.
I was running tomenet on one of these for a long time. On the other hand, if you're looking for a windows CE binary, that might be more difficult to get up and running.
Re: TomeNET MIPS binary..
Well.. I compiled the server, and upon initialization of tomenet.server, I get the following..
[snip]
./tomenet.server: Create TCP socket on port 18348...
./tomenet.server: Set Non-Blocking...
ioctl FIONBIO failed in socklib.c line 945: Invalid argument
./tomenet.server: Can't make contact socket non-blocking
./tomenet.server: Couldn't set SO_LINGER on the socket
./tomenet.server: Couldn't set SO_LINGER on the console socket
ioctl FIONBIO failed in socklib.c line 945: Invalid argument
./tomenet.server: Can't make GM socket non-blocking
[snip]
So... I am unable to connect to the local server.. Anyone know what's going on?
TIA,
ezdagor
[snip]
./tomenet.server: Create TCP socket on port 18348...
./tomenet.server: Set Non-Blocking...
ioctl FIONBIO failed in socklib.c line 945: Invalid argument
./tomenet.server: Can't make contact socket non-blocking
./tomenet.server: Couldn't set SO_LINGER on the socket
./tomenet.server: Couldn't set SO_LINGER on the console socket
ioctl FIONBIO failed in socklib.c line 945: Invalid argument
./tomenet.server: Can't make GM socket non-blocking
[snip]
So... I am unable to connect to the local server.. Anyone know what's going on?
TIA,
ezdagor
Re: TomeNET MIPS binary..
Well, if you're ready to poke around in the source code, there are a couple of things you could try. Setting the sockets non-blocking is very important, setting SO_LINGER not so much.
I don't know why the FIONBIO iotctl is failing on your system, but you could try using one of the alternative methods for making a socket non-blocking.
Line 894 in src/common/net-unix.c says:
What you need to do is put this before that line:
This will enable the code that uses the O_NONBLOCK flag together with the fcntl function. This is the standardized POSIX way of making sockets non-blocking so hopefully it should work.
Even if the above fixes the sockets, I can't guarantee that the server is going to work. I have never tried running the server on a MIPS system.
I don't know why the FIONBIO iotctl is failing on your system, but you could try using one of the alternative methods for making a socket non-blocking.
Line 894 in src/common/net-unix.c says:
Code: Select all
#ifndef USE_FCNTL_O_NONBLOCK
Code: Select all
#define USE_FCNTL_O_NONBLOCK
Even if the above fixes the sockets, I can't guarantee that the server is going to work. I have never tried running the server on a MIPS system.