Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: pack/unpack specification

by c-era (Curate)
on Jul 14, 2000 at 14:40 UTC ( [id://22531]=note: print w/replies, xml ) Need Help??


in reply to pack/unpack specification

I have used pack/unpack several times in working with sockets. I've run the program on win32, solaris, linux, and bsd and not had any problems. Pack/unpack stores the information in an 8-bit binnary stream format. Any characters you pack will have their ascii values packed into one byte. The lengths are predefined (i.e. if you use "C" it pack/unpacks an 8-bit value). There could be a problem if a system thinks a "C" is 16-bit, but when you compile perl it does check for that.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://22531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found