Способы общения между Linux'ми и Windows'ми внутри локальной сети.
Как сделать текстовый чат? Как организовать видео-аудио чат?
Как сделать приватные и групповые чаты для общения пользователям Linux + дополнительно возможность подключится и пользователям Windows?
Акцент всё-таки делается на вопрос как сделать чаты между Linux'ами?
Можно, конечно, на одном компьютере поднять сервер и воспользоваться готовым web-ПО. И это, пожалуй, даже будет самое верное решение, но всё же как сделать чаты встроенными средствами и про помощи дополнительного ПО в Linux'ах?
Вот есть в Linux'е стандартные консольные почтовые программы, текстовое общение хотелось бы через них и без всяких лишних наворотов и ухищрений. Можно и с gui, на основе этих программ.
Если уж совсем «без наворотов и ухищрений» wink — чат в консоли с помощью NetCat'а:
One of the Linux command line tools I had initially under-estimated is netcat or just nc. By default, netcat creates a TCP socket either in listening mode (server socket) or a socket that is used in order to connect to a server (client mode). Actually, netcat does not care whether the socket is meant to be a server or a client. All it does is to take the data from stdin and transfer it to the other end across the network.
The simplest example of its usage is to create a server-client chat system. Although this is a very primitive way to chat, it shows how netcat works. In the following examples it is assumed that the machine that creates the listening socket (server) has the 192.168.0.1 IP address. So, create the chat server on this machine and set it to listen to 3333 TCP port:
text
$ nc -l 3333
On the other end, connect to the server with the following:
text
$ nc 192.168.0.1 3333
In this case, the keyboard acts as the stdin. Anything you type in the server machine’s terminal is transfered to the client machine and vice-versa.
P.S. Если мне не изменяет память, под Windows должен быть какой-то аналог NetCat'а.