packet unstuffing.

Mike Tilstra conrad@REDACTED
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?

Mike Tilstra                          conrad@REDACTED
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: <>

More information about the erlang-questions mailing list