Added complex portArray assignments.

Support for passing in netconnection type arguments is now supported. A mix of ports and NetConnectionType values are supported. See documentation for more details.