Added a method to get the network address