Quantcast
Channel: Deni How » tcp
Viewing all articles
Browse latest Browse all 10

How can I open a TCP/UDP connection on Linux?

$
0
0

Question

I am looking for a simple command line tool to open TCP/UDP server/client on a desired port on a Linux machine. Are there any applications or commands that I can use to achieve this?

Asked by Bruce

Answer

The nc (netcat) command will probably do what you need. It can listen on a specified port for TCP or UDP connections, and can also make outbound connections, depending on the command line arguments you specify.

If that’s not what you’re looking for, let me know.

Answered by Flimzy

Viewing all articles
Browse latest Browse all 10

Trending Articles