Change the constructor to accept networkinformation
Added the port number to the network field
switched the new network constructor