Return-Path: william@bourbon.usc.edu Delivery-Date: Mon Sep 8 10:19:18 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 m88HJIcs024073 for ; Mon, 8 Sep 2008 10:19:18 -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 m88HIJjE004439 for ; Mon, 8 Sep 2008 10:18:19 -0700 Message-Id: <200809081718.m88HIJjE004439@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Regarding data being sent Date: Mon, 08 Sep 2008 10:18:19 -0700 From: Bill Cheng Someone wrote: > Is it mandatory that we concatenate all the fields into one string and send > it (reading it 1 byte at a time) or can we send the message_type field > first, offset next, length next and then the data? Either way is fine. -- Bill Cheng // bill.cheng@usc.edu