Does STUN only work for UDP? Follow-up to how NAT Traversal and STUN work.

Why does STUN only work for UDP? Can TCP be supported?

    Requires Free Membership to View

Because STUN is an IP protocol, it will only support UDP. As for Transmission Control Protocol (TCP), it is connection oriented and operates at a higher layer than IP communications. These protocols have entirely different capabilities. TCP conversations establish sessions. UDP, STUN and IP will not guarantee a connection, but they will find and operate over the best path.

This was first published in October 2006