func NewMachineHostPorts(port int, addresses ...string) MachineHostPorts {
	hps := make(MachineHostPorts, len(addresses))
	for i, addr := range addresses {
		hps[i] = MachineHostPort{
			MachineAddress: NewMachineAddress(addr),
			NetPort:        NetPort(port),
		}
	}
	return hps
}
// NewMachineHostPorts creates a list of MachineHostPorts
// from each given string address and port.
NewMachineHostPorts creates a list of MachineHostPorts
from each given string address and port.
// NewMachineHostPorts creates a list of MachineHostPorts // from each given string address and port .
func NewMachineHostPorts(port int, addresses ...string) MachineHostPorts {
	hps := make(MachineHostPorts, len(addresses))
	for i, addr := range addresses {
		hps[i] = MachineHostPort{
			MachineAddress: NewMachineAddress(addr),
			NetPort:        NetPort(port),
		}
	}
	return hps
}
func NewMachineHostPorts ( port int , addresses ... string ) MachineHostPorts { hps := make ( MachineHostPorts , len ( addresses ) ) for i , addr := range addresses { hps [ i ] = MachineHostPort { MachineAddress : NewMachineAddress ( addr ) , NetPort : NetPort ( port ) , } } return hps }
NewMachineHostPorts creates a list of MachineHostPorts
from each given string address and port.
NewMachineHostPorts creates a list of MachineHostPorts from each given string address and port .