CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Net::Server::Prefork and binary data in socket

 



alager
Novice

Oct 8, 2009, 2:18 PM

Post #1 of 1 (743 views)
Net::Server::Prefork and binary data in socket Can't Post

Is there a way to keep the server from stripping out 0x0d bytes (binary mode)?
See below, the 16th and 18th bytes are dropped.

Code
Tx: f1 18 b7 04 b6 3a a3 11 b7 15 ab 39 b1 0e bf 0d b3 0d b6 11 e8 
Rx: f1 18 b7 04 b6 3a a3 11 b7 15 ab 39 b1 0e bf b3 b6 11 e8 4d 93


UPDATE: It looks like the proper way to handle this is to use something like base64 encoding. I'm doing that, and it seems to work fine.


Thanks,
Aaron


(This post was edited by alager on Oct 8, 2009, 4:19 PM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives