Return-Path: william@bourbon.usc.edu Delivery-Date: Fri Oct 17 23:05:05 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 m9I655EY006773 for ; Fri, 17 Oct 2008 23:05:05 -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 m9I6DgIk011986 for ; Fri, 17 Oct 2008 23:13:42 -0700 Message-Id: <200810180613.m9I6DgIk011986@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: CS 551 Servant Date: Fri, 17 Oct 2008 23:13:42 -0700 From: Bill Cheng Someone wrote: > I am sorry if this question has already been asked (I could not > find it tough) ... What should we use as our host name? It is not > defined in the ini file ... so I am using localhost at the moment > ... but while sending a join message what should be the host name > in the message ? You should call gethostname() to get the name of the host you are running on. -- Bill Cheng // bill.cheng@usc.edu