How to chat via Netcat?

Hi,

Do you have Gtalk? Facebook chat? or something like that? Well, probably yes. But, if do not have such communication types? I know, nowadays is really rare to anyone do not have them. So, if you are a bit nerd or if you like command lines as bash, I guess is a cool idea to use Netcat program to chat with “any” machine. The command is simple:

Start server:

$ nc -lp 5800

Start client and on the next lines, type what you want. In the same way, on the server side, your friend can type as well.

$ nc {server IP} 5800

The number 5800 is the port number of the communication, but you can type any port that is free as well. So, have fun. 🙂

That’s all,

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s