0

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.

1
  • What do you mean by "send an incoming message"? Incoming messages are received. Commented Nov 2, 2012 at 13:05

1 Answer 1

1

If your application has a simple text protocol, you can just use telnet localhost port. Otherwise look into netcat

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.