In server-changed inet_addr to 0.0.0.0, in client-changed inet_addr to which was given in ipconfig -> success in connecting client and server BUT still client terminal window is closing itself if executed as exe file (if opened in Code Blocks - works fine)