packet unstuffing.

Mike Tilstra <>
Tue Aug 8 21:11:54 CEST 2000


I must be missing something obivious.
I'm trying to write a server that responds to requests over TCP.  The
request comes in a packed network byte order structure.  How do I pull this
apart?  Is there anything like perl's pack, unpack functions? Or will I
need to write all of the code to do that?  I think I see how to seperate
the fields using the binary commands, but how do I get the numbers into the
correct byte order?

Thanks,
-- 
Mike Tilstra                          
Today, I am the bug.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20000808/03ec5a54/attachment.bin>


More information about the erlang-questions mailing list