Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2003 21:58:31 +0100 (CET)
From:      "Cordula's Web" <cpghost@cordula.ws>
To:        paulbeard@mac.com
Cc:        FELTIRC@dshs.wa.gov
Subject:   Re: Network messaging
Message-ID:  <200311192058.hAJKwVpd028857@fw.farid-hajji.net>
In-Reply-To: <52B37C62-1ACC-11D8-B61F-000A95BBCCF8@mac.com> (message from paul beard on Wed, 19 Nov 2003 12:09:47 -0800)
References:  <496C6CA6ABA8DD4AB652EA39C9E5540D2938B7@dshs-exch1> <52B37C62-1ACC-11D8-B61F-000A95BBCCF8@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Is it possible to set some type of simple messaging system between 
> > networked
> > FreeBSD machines?  For example, client A pings client B, and then 
> > client B
> > sends some prespecified text reply to client A.
> >
> to what end? I don't know how you respond to a literal ping, but you 
> could code up a simple client <-> server system where client A connects 
> to client B on a specified port and B emits some text on request.

Is ping not enough? An ICMP ECHO REPLY is a specific reply,
directed only to the hosts that sent the ICMP ECHO REQUEST
in the first place. It's not a prespecified _text_ reply,
but it is a reply nonetheless.

Of course, if you need more information, you need a
client/server implementation.

You could e.g. enable 'daytime' in /etc/inetd.conf (and
start inetd), if you need the local time of the host, etc...

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311192058.hAJKwVpd028857>