Login server error
Posted: 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.
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.