Update client.c

Added getIPAddress()