Worked more on the ocnnection message type, but created an error that you cannot convert sockaddr_in* to const sockaddr* in function getnameinfo. Comment out the function if you need to test forking