[TriLUG] OT: network byte order double swapping
Scott G. Hall
ScottGHall at BellSouth.Net
Mon Apr 4 15:51:50 EDT 2005
On 4-Apr-2005 11:18 EDT, Charles Fischer wrote:
> I am looking for htond. I need to do a double network byte order to a
> Intel double byte order in C on a Fedora Core 3 system. Any ideas.
>
> Thanks Charles Fischer
Have you looked at the "swab" utility (swap adjacent bytes)? Even if
this utility doesn't do exactly what you want, its source code is a
good starting point.
--
Scott G. Hall
Raleigh, NC, USA
ScottGHall at BellSouth.Net
More information about the TriLUG
mailing list