C: socket simple client add ip check, server output ip adress