func (s NetworkSettings) SplitPort(index int) (uint16, string) {
	ptProt, _ := s.PortAt(index)
	vect := strings.Split(ptProt, "/")
	port, _ := strconv.ParseUint(vect[0], 10, 16)
	return uint16(port), vect[1]
}
func (s NetworkSettings) SplitPort(index int) (uint16, string) {
	ptProt, _ := s.PortAt(index)
	vect := strings.Split(ptProt, "/")
	port, _ := strconv.ParseUint(vect[0], 10, 16)
	return uint16(port), vect[1]
}
func ( s NetworkSettings ) SplitPort ( index int ) ( uint16 , string ) { ptProt , _ := s . PortAt ( index ) vect := strings . Split ( ptProt , " " ) port , _ := strconv . ParseUint ( vect [ 0 ] , 10 , 16 ) return uint16 ( port ) , vect [ 1 ] }
// SplitPort splits port number and protocol name from Ports string.
SplitPort splits port number and protocol name from Ports string .