consistent port nb in gdat_d3d example