🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.internals
Article #2585

Byte Order on workstations

#2585
From: Jingwen Wang
Date: Fri, 28 Jun 1991 06:45
21 lines
1355 bytes
  I am a little curious about the byte order differences on different
workstations. 

  When we communicate via sockets over the network, we don't need to care
about the differences between network order and host order. This is true 
if we are communicating among the workstations of the same byte order.

  But If we communicate between workstations of different byte order, .e.g., 
Dec station -- Sun, we must first transform data into network order before 
sending them and change them back to host order after receiving them.

  My question is that in a network environment, how is this problem solved?
For example, when this mail reaches your machine, how does your machine 
know that this mail is from a Sun instead of a Dec Station? How does your
machine process the byte order?

  Can anyone shade some light on this?

Jingwen Wang
Purdue University
Technical Details
Message-ID: <15145@ector.cs.purdue.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!spool.mu.edu!mips!sdd.hp.com!news.cs.indiana.edu!purdue!wangjw

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!spool.mu.edu!mips!sdd.hp.com!news.cs.indiana.edu!purdue!wangjw
From: wangjw@cs.purdue.EDU (Jingwen Wang)
Newsgroups: comp.unix.internals
Subject: Byte Order on workstations
Message-ID: <15145@ector.cs.purdue.edu>
Date: 28 Jun 91 06:45:32 GMT
Sender: news@cs.purdue.EDU
Reply-To: wangjw@brandon.cs.purdue.edu ()
Distribution: usa
Organization: Department of Computer Science, Purdue University
Lines: 21