Return-Path: william@bourbon.usc.edu Delivery-Date: Sun Oct 19 20:08:29 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m9K38Ti4003959 for ; Sun, 19 Oct 2008 20:08:29 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m9K3HXAk024581 for ; Sun, 19 Oct 2008 20:17:33 -0700 Message-Id: <200810200317.m9K3HXAk024581@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: final part1 Date: Sun, 19 Oct 2008 20:17:33 -0700 From: Bill Cheng Someone wrote: > The "Servant" network we are doing is being implemented only on Nunki.That > is we are implicitly doing message passing between the processes on Nunki > and such the packets are not going out into the network. > the question is : > Should our code also consider the case where the messages > are being received from different machines because the startup.ini file > gives us only the Port numbers and not the IP addresses of other machines. Of course you should do things the right way! By the way, we don't use IP addresses in the messages. We use hostnames. You can get the name of the host by calling gethostname(). -- Bill Cheng // bill.cheng@usc.edu