Ncat is distributed under the same license terms as Nmap. See the COPYING file in the Nmap tarball, the man page legal section, or https://nmap.org/man/man-legal.html .