From owner-freebsd-questions@FreeBSD.ORG Wed Nov 19 12:59:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 091D216A4CE for ; Wed, 19 Nov 2003 12:59:17 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 783D543F85 for ; Wed, 19 Nov 2003 12:59:15 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (8.12.10/8.12.10) with ESMTP id hAJKwVpd028857; Wed, 19 Nov 2003 21:58:32 +0100 (CET) (envelope-from cpghost@cordula.ws) Date: Wed, 19 Nov 2003 21:58:31 +0100 (CET) Message-Id: <200311192058.hAJKwVpd028857@fw.farid-hajji.net> From: "Cordula's Web" To: paulbeard@mac.com In-reply-to: <52B37C62-1ACC-11D8-B61F-000A95BBCCF8@mac.com> (message from paul beard on Wed, 19 Nov 2003 12:09:47 -0800) X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE References: <496C6CA6ABA8DD4AB652EA39C9E5540D2938B7@dshs-exch1> <52B37C62-1ACC-11D8-B61F-000A95BBCCF8@mac.com> cc: freebsd-questions@freebsd.org cc: FELTIRC@dshs.wa.gov Subject: Re: Network messaging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 20:59:17 -0000 > > 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/