Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: gopher server in < 1024Bby revdiablo (Prior) |
on May 11, 2004 at 16:53 UTC ( [id://352510]=note: print w/replies, xml ) | Need Help?? |
I think it's generally a good idea to use \015\012 instead of \r\n when doing something such as this (i.e. network coding). The reason is \n can change depending on what platform you're running. Hopefully this won't push you past the 1024 byte limit. 8^) For reference, this is documented in perlop, under the "Quote and Quote-like Operators" section, in the paragraph starting with "All systems use the"
In Section
Craft
|
|