Stupid Telnet Question

Just a quick one here - I use telnet often to test connectivity to devices through specific ports to ensure they are not blocked.

I've always assume that these were TCP ports.  Is it possible to do the same, but use UDP instead?  Or should telnet work regardless is the listening port is TCP or UDP?
LVL 1
JamesonJendreasAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Adam BrownConnect With a Mentor Sr Solutions ArchitectCommented:
Telnet relies on TCP which requires a "Three-way handshake" to complete a connection. UDP doesn't do this, and so connecting to a UDP port over TCP will not complete a proper connection.

You can attempt to listen for or talk to UDP ports by using a utility called Netcat. http://netsecure.alcpress.com/netcat/ has more information.
0
 
micropc1Connect With a Mentor Commented:
Telnet runs on TCP/IP at the application layer. To my knowledge it's not possible to connect to a port using a connectionless protocol such as UDP with Telnet.
0
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
UDP doesn't "connect", it just sends messages and doesn't not require a response.  So unless your device is programmed to respond, just sending a UDP message won't tell you anything.
0
 
JamesonJendreasAuthor Commented:
Thanks all.  As I thought.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.