Page 1 of 1
Problem starting Gimx Server on Windows
Posted: Fri Feb 27, 2015 4:38 pm
by peeezee
Hi there,
I try to start a Gimx server on Windows to listen on an arbitrary port (none works) but all it keeps saying is:
socket: No error
option -s with value `127.0.0.1:51914'
Can't listen on port: 51914.
connector_init failed
Does anybody have an idea, what's wrong?
Re: Problem starting Gimx Server on Windows
Posted: Fri Feb 27, 2015 6:03 pm
by Matlo
Re: Problem starting Gimx Server on Windows
Posted: Fri Feb 27, 2015 11:36 pm
by peeezee
Hi Matlo,
thanks for pointing this out. I already read this commit and wondered why it is still not working.
My installation was just too old >.<
Cheers
Re: Problem starting Gimx Server on Windows
Posted: Sat Feb 28, 2015 12:32 am
by peeezee
Even after compiling the code with your changes (the binaries are outdated) the error is still there.
(And perror() doesn't give winsock errors, use WSAGetLastError() instead).
You are obviously missing the WSAStartup call for udp_listen() in udp_con.c.
Calling WSAStartup makes it work.
Re: Problem starting Gimx Server on Windows
Posted: Sat Feb 28, 2015 9:04 am
by Matlo
This is already fixed in the develop branch:
https://github.com/matlo/GIMX/blob/deve ... /udp_con.c
The master branch contains the code of the latest release which is v3.5.
Re: Problem starting Gimx Server on Windows
Posted: Sat Feb 28, 2015 1:57 pm
by peeezee
Didn't realize I'm on the master branch. Too late at night, sorry.
Thanks, Matlo. Keep up the good work.