Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thats good, but my problem lies within netcat, which is why I wanted to do stuff over TCP. If you can help me with netcat, that would be nice too. I want to have a nc server echo back data when I send a command. for example, CMD> ls, and then the computer I'm connected to will run ls, send the data over to the nc client, then wait for another command. I tried doing this in a bash script, but I couldn't figure out how to send and recieve data over nc at the same time without disconnecting and reconnecting. Commented Dec 10, 2015 at 18:00
  • You just described telnet. You should use telnet, or use ssh if you want a secure connection. Commented Dec 10, 2015 at 23:49
  • @MyNameIsBoring Yes, I use ssh, but one of the goals (which I should edit in) was to make my own kind of remote connection program as a learning experience. I haven't used telnet that much, mostly because of how weird it is to use, in my opinion. Commented Dec 11, 2015 at 23:27