top of page

Create a TCP Client and Server and Send Messages with Netcat

This post shows how to create a TCP client and server and send messages between them using netcat v1.12 on Windows


1. Download netcat v1.12 for windows from (or click here to get it)

2. Open a CMD window

3. Create the server by typing this into the CMD window

4. Open another CMD window

5. Create the client by typing this into the CMD window you just opened:

6. Type Hello, World in the client. You should see it in the server.

Good links




bottom of page