Knowledge Base

App Request UDP Only, "Netstat -an" Displays TCP and UDP

Article ID: 194171

Article Last Modified on 10/31/2006


APPLIES TO


This article was previously published under Q194171

SYMPTOMS

Winsock applications can specify what UDP ports they listen on. You can use the NETSTAT utility with the -an option to display the status of a socket. However, NETSTAT -an may display both UDP and TCP listening on the same socket when only UDP is bound to the socket.

   NETSTAT [-a] [-n]

    -a  Displays all connections and listening ports. Server-side
        connections are normally not shown.

    -n  Displays addresses and port numbers in numerical form.
				

CAUSE

This behavior does not affect socket connections, but is simply a display. problem.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 4.0.

Keywords: kbbug kbnetwork kbpending KB194171