Reputation: 19270
I want to write a script that does the following:
The ideal solution would be a shell script invoking some reasonably standard tools, so if anybody can come up with a way to do that, well, that would be the perfect answer. If that proves intractable, a Ruby implementation would be convenient for me. Failing that, I’ll take any workable implementation.
P.S. I’m pretty new here, so please let me know if this question is too general or if it doesn’t belong for some other reason (maybe "please implement X for me" is frowned upon?).
Upvotes: 1
Views: 1476
Reputation: 44220
Have you tried netcat ? Both listener and client can be done with nc.
Upvotes: 1