开发者

Building a simple computer to computer messenger using Bash

开发者 https://www.devze.com 2023-02-21 12:50 出处:网络
I want to create a script that sends a message to another IP. Using telnet seems like the only protocol that would work. I\'m using this as a learning experience for Bash and I\'ve already done some r

I want to create a script that sends a message to another IP. Using telnet seems like the only protocol that would work. I'm using this as a learning experience for Bash and I've already done some reading on how i开发者_如何学编程t could work.

I've understood that I should use a program named Expect to communicate but, again, seeing as I'm new it seems like a whole lot.

I would greatly appreciate if someone could point me in the right direction as to how to come about approaching this.


Take a look at netcat. You can send packets over TCP/IP, and listen to ports. You don't need any more :)

0

精彩评论

暂无评论...
验证码 换一张
取 消