Page 1 of 1

Login server error

Posted: Sat May 28, 2016 11:20 pm
by darthjohnboy
Been a while since i built a server but i'm getting an odd error while trying to compile the login server.

Basically, VS2015 says it succeeds in building the server, but with some warnings:

darkstar\src\login\login.cpp(159): warning C4244: '=': conversion from '__int64' to 'long', possible loss of data

src\login\lobby.cpp(285): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings

And checking the login server log shows this error when i try to run it and it crashes:

[Error][0m make_listen_bind: bind failed (socket #1, code 10049)!

Not sure what i've done here as both the search and game servers seem to run fine.
Any insight would be helpful.

Re: Login server error

Posted: Sun May 29, 2016 1:50 am
by kjLotus
have you tried googling bind 10049?

Re: Login server error

Posted: Sun May 29, 2016 7:27 am
by darthjohnboy
I got it. Was late and I wasn't paying attention (probably due to lack of sleep).

I placed my external IP in the wrong spot.