Chat over lan from linux to linux?


This is quick guide on how to use netcat (nc) to chat between two PCs over LAN.

VM 1: CentOS 6.6

My CentOS machine did not have netcat (nc) preinstalled so I had to manually install it.

# yum install nc -y

VM 2: Kali Linux 2016.1 | IP: |

The Kali Linux 2016.1 had netcat tools were pre-installed so i didn’t have to install it. Here, we take any one of the 2 Pcs as the chat server and the other as the chat client.

Here, I am selecting the Kali Linux to listen for connections on a random port 12345. [Note: The port you select must be higher than the standard port 1024.]

In this case, I will make Kali as the chat server and set it to listen on port 12345.

# nc -lvp 12345

Now from the 2nd PC i.e. the CentOS machine, we will make a connection to the Kali machine on port 12345.

# nc 12345

Once connected, Kali’s terminal would show as message such as shown below:

Now, to start chatting...

0 0

Thanks for the reply, I have also tried copying data to a data card on my phone but that is also very slow so it looks like it is not just the network that is bad as the phone is connected directly via USB (so firewall is not the issue either). Transfer rates get to about 2MiB/s but after about 5 seconds they drop to 500K and then to 0. After sitting at zero for a while they come back at about 500K for a few seconds and then it dies again.

I also did a copy to my phone via the command line (using Konsole) but it seemed to be having the same problem as it was also very slow.

However, when I do a copy operation from one hard drive to the other in the same machine the speed is fine (about 25MiB/s is I remember correctly).

The files I am copying can be of any size and number but the effect is the same. A single file of 100M, 1000 Files of 500K each etc.

Looking at 'top' I see the load is about:

and the plasma CPU monitor gets to 100% but top does not...

0 0
0 0
Related to : Sending File over LAN using C in linuxLinux Help On Sending File On Web Server Linux Hi,
I am New to Linux, I want to writre code for sending text file on Web sever which should run on LINUX.If possible suggest me th sites from where i can down load such code,coz it is very Urgent
sending a file to a shared drive (LAN) Linux Anyone has a good non-MFC sample on how to send a file to another computers shared folder/drive in a LAN? also, is there a method on how to obtain the lists all available computers (and the folders/drives being shared) on a LAN?
Thanks in advance.
Help in creating a text-file sending programme in linux using c++ Linux Does anyone have a sample programme that i can refer to?
Sending a file from the Linux Shell to a windows machine. Linux hello,
I need to send a text file from the shell to a windows machine (say to an application that is using a specific port on windows).
I'm unable to figure out how to do...
0 0

I was looking for a over-the-LAN instant messaging app on Ubuntu to use at home. A port of good old ipmsg is available but the interface is too dated. After trying a few more options I found iptux. It has a polished interface, the chat window is modern and can be minimized to the system tray. It supports both chat and file transfers. A good way to communicate if you have several users on the same wifi. Available in Synaptic.

To show the iptux icon in the system tray I added it in the systray whitelist:

# gsettings set com.canonical.Unity.Panel systray-whitelist "['Pidgin', 'Dropbox', 'qbittorrent', 'iptux']"

To share files over LAN as well as the internet try BaShare.


0 0

RealPopup 6.1.2

A handy and powerful application that helps you seamlessly connect and send messages to your LAN c...

Feb 7th 2018, 06:42 GMT

Windows 10 64 bit / Windows 10 / Windows Server 2012 / Windows 2008 / Windows 2003 / Windows 8 / Windows 7 / Windows Vista / Windows XP / Windows 2K

Softros LAN Messenger 9.0.7

Keep in touch with your friends or coworkers from the same LANs, WANs and Intranets using this sim...

Feb 3rd 2018, 15:20 GMT

Windows NT / Windows Server 2016 / Windows 10 64 bit / Windows 10 / Windows Server 2012 / Windows 2008 64 bit / Windows 2008 / Windows 2003 / Windows 8 64 bit / Windows 8 / Windows 7 64 bit / Windows 7 / Windows Vista 64 bit / Windows Vista / Windows XP / Windows 2K

Bopup Messenger

Send files, personal or group messages over a LAN connection with this help of this piece of softw...

Jan 24th 2018, 04:55 GMT

Windows All

WinSent 3.1.4


0 0

Why OMessenger?

Traditional instant messengers are not the best solution for communicating with co-workers in a large office building. Besides the fact that anyone from the outside can interrupt your work, there are also a few risks regarding security. An excellent alternative is OMessenger, which is designed specifically for office communications. The software provides the same functionality as other instant messengers, but it relays messages over a local network or VPN. The software offers real-time Textual Communication, Voice Communication and File between users of local network conveniently and quickly, and is designed for used in Small Office/Home Office (SOHO), Small to Medium Business (SMB), and Workgroup to Enterprise environments.

Your Team Will Want to Use:

You can share ideas, files, codes with your team no matter where you are located, and its perfect for projects, teams and departments.

Cristal Clear, Cross platform Voice...

0 0

Amazon Chime 4.12 Build 8621

Efficiently and securely communicate and collaborate with your team members, clients or other repr...

Feb 8th 2018, 12:20 GMT

Windows 10 64 bit


Quickly create an account and connect either from your computer or various mobile devices to stay ...

Feb 8th 2018, 07:45 GMT

Windows 10 64 bit / Windows 10 / Windows 8 64 bit / Windows 8 / Windows 7 64 bit / Windows 7 / Windows Vista / Windows XP

Rocket.Chat 2.10.5

Chat with your friends or business partners with the help of this user-friendly and powerful appli...

Feb 8th 2018, 05:39 GMT

Windows All

Psi+ 1.2.2018.01.18 / 1.2.212

A powerful and capable Jabber client that features a simple interface and support for text message...

Feb 7th 2018, 19:54 GMT

Windows 10 64 bit / Windows 10 / Windows 8 64 bit / Windows 8 / Windows 7 64 bit / Windows 7 / Windows XP

Viber for Windows...

0 0