Bitfighter: TNL: Port 'gethostbyname' usage to 'getaddrinfo'
completed by: Darriel
mentors: watusimoto, kaen, raptor
Instructions to check out the source code, build, and get set-up are here
Bitfighter uses the first open-sourced version of the Torque Network Library (TNL or opentnl). This library is rather old and uses the deprecated network API method 'gethostbyname()'. We are starting to get warnings from Linux distributions that we need to port the code to use 'getaddrinfo()'. Your job is to do this.
Once ported, you will have to test the code against a server to make sure there is no change in behavior.