Login server error

Post Reply
darthjohnboy
Posts: 10
Joined: Thu Feb 12, 2015 6:24 pm

Login server error

Post by darthjohnboy » Sat May 28, 2016 11:20 pm

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.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Login server error

Post by kjLotus » Sun May 29, 2016 1:50 am

have you tried googling bind 10049?

darthjohnboy
Posts: 10
Joined: Thu Feb 12, 2015 6:24 pm

Re: Login server error

Post by darthjohnboy » Sun May 29, 2016 7:27 am

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.

Post Reply