Re: Text based synchronous communication tool for Linux?

Liste des GroupesRevenir à cu programmer 
Sujet : Re: Text based synchronous communication tool for Linux?
De : cross (at) *nospam* spitfire.i.gajendra.net (Dan Cross)
Groupes : comp.unix.programmer
Date : 09. Dec 2024, 13:49:21
Autres entêtes
Organisation : PANIX Public Access Internet and UNIX, NYC
Message-ID : <vj6p0h$j5l$1@reader2.panix.com>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <vj69hi$asvu$1@dont-email.me>,  <Muttley@DastardlyHQ.org> wrote:
On Sun, 8 Dec 2024 18:36:35 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) wibbled:
works is brittle and doesn't work well over the modern Internet.
In particular, it is de-facto limited to IPv4 and doesn't
play well with firewalls: it involves sending the contents of a
`sockaddr_in` across the network, and using that to set up a
(direct) TCP connection between processes.  One could imagine
>
Huh? I don't get how that works.

Yes.

You need a connection in the first place to
send anything unless you use a broadcast UDP address. You can't just
automagically set up a connection without the OS network layer playing its
part.

A `sockaddr_in` is just a data structure that names a socket
address.  For the Internet family, it's just got a few things in
it: an address, a port number, a family type, and length.
That's basically it.

The walk `talk` works, the client sets up a TCP listening
socket, and then sends the address for that to the `talk` daemon
both locally and at the distant end; the talk daemon at the
distant end then alerts the destired user that someone wants to
talk to them.

Assuming that person wants to respond, _they_ invoke their
talk client, which talks to the local talk daemon, sees the
pending request, retrieves the socket address structure, and
uses it to connect to the originating user's talk client's
TCP listening socket.

The connection to the talk daemon isn't connection oriented
at all; it's done via a UDP packet.  That is, the talk client
creates a listening TCP socket, takes the (binary) address
of the listening socket, embeds that address in a UDP packet,
sends that over the network, and on the distant end that
informatio is used to create a (TCP) connection back to the
origin.

- Dan C.


Date Sujet#  Auteur
8 Dec 24 * Text based synchronous communication tool for Linux?34Janis Papanagnou
8 Dec 24 +* Re: Text based synchronous communication tool for Linux?3Richard Kettlewell
8 Dec 24 i+- ytalk (Was: Text based synchronous communication tool for Linux?)1Kenny McCormack
9 Dec 24 i`- Re: Text based synchronous communication tool for Linux?1Janis Papanagnou
8 Dec 24 `* Re: Text based synchronous communication tool for Linux?30John McCue
8 Dec 24  `* Re: Text based synchronous communication tool for Linux?29Muttley
8 Dec 24   +* Re: Text based synchronous communication tool for Linux?20Janis Papanagnou
8 Dec 24   i+* Re: Text based synchronous communication tool for Linux?6Dan Cross
9 Dec 24   ii`* Re: Text based synchronous communication tool for Linux?5Muttley
9 Dec 24   ii `* Re: Text based synchronous communication tool for Linux?4Dan Cross
9 Dec 24   ii  `* Re: Text based synchronous communication tool for Linux?3Muttley
9 Dec 24   ii   +- Re: Text based synchronous communication tool for Linux?1Dan Cross
9 Dec 24   ii   `- Re: Text based synchronous communication tool for Linux?1Nicolas George
9 Dec 24   i`* Re: Text based synchronous communication tool for Linux?13Muttley
9 Dec 24   i `* Re: Text based synchronous communication tool for Linux?12Janis Papanagnou
9 Dec 24   i  `* Re: Text based synchronous communication tool for Linux?11Muttley
9 Dec 24   i   +- Re: Text based synchronous communication tool for Linux?1Kenny McCormack
9 Dec 24   i   `* Re: Text based synchronous communication tool for Linux?9Janis Papanagnou
9 Dec 24   i    +- Re: Text based synchronous communication tool for Linux?1Muttley
10 Dec 24   i    `* Re: Text based synchronous communication tool for Linux?7James Kuyper
11 Dec 24   i     +* [meta] Harry Potter, Physics, Tools, Perception, etc. (was Re: Text based synchronous communication tool for Linux?)4Janis Papanagnou
11 Dec 24   i     i+- Re: [meta] Harry Potter, Physics, Tools, Perception, etc. (was Re: Text1Muttley
12 Dec 24   i     i`* Re: [meta] Harry Potter, Physics, Tools, Perception, etc. (was Re: Text based synchronous communication tool for Linux?)2Dan Cross
12 Dec 24   i     i `- Re: [meta] Harry Potter, Physics, Tools, Perception, etc. (was Re: Text1Muttley
11 Dec 24   i     `* Re: Text based synchronous communication tool for Linux?2Muttley
12 Dec 24   i      `- Re: Text based synchronous communication tool for Linux?1James Kuyper
9 Dec 24   `* Re: Text based synchronous communication tool for Linux?8Geoff Clare
9 Dec 24    +- Re: Text based synchronous communication tool for Linux?1Kenny McCormack
9 Dec 24    +* Re: Text based synchronous communication tool for Linux?2Richard Kettlewell
9 Dec 24    i`- Re: Text based synchronous communication tool for Linux?1Geoff Clare
9 Dec 24    +* Re: Text based synchronous communication tool for Linux?2Nicolas George
11 Dec 24    i`- Re: Text based synchronous communication tool for Linux?1Geoff Clare
9 Dec 24    `* Re: Text based synchronous communication tool for Linux?2vallor
10 Dec 24     `- Re: Text based synchronous communication tool for Linux?1Muttley

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal