Reputation: 5012
I've created a simple application that listens to certain incoming TCP messages
I could write a bit of code to send out a TCP message manually, but I was wondering if there was an easier way of sending "fake" incoming TCP messages. I searched around a bit but I didn't find an easy method of doing this.
Upvotes: 0
Views: 478
Reputation: 74118
If your application has a simple text protocol, you can just use telnet localhost port
. Otherwise look into netcat
Upvotes: 1