code: def pack_ip_addr(addr):
      
      addr, port = addr
      return socket.inet_aton(addr) + struct.pack('!H', port & _short_mask)
docs: Given an IP address tuple like ('1.2.3.4', 47808) return the six-octet string
      useful for a BACnet address.