Created ip and tcp java classes