5. TCP Connect() Scan (-sT)
UNIX socket uses a system call named connect() to begin TCP connection and if it succeeds, connection can be made and if it fails, connections cannot be made, basically because the port might be closed.
Command: nmap -sT <target>