Changed IP config., Added 'client.write()'.