Oct 8, 2009, 2:18 PM
Post #1 of 1
Is there a way to keep the server from stripping out 0x0d bytes (binary mode)?
Net::Server::Prefork and binary data in socket
See below, the 16th and 18th bytes are dropped.
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.
(This post was edited by alager on Oct 8, 2009, 4:19 PM)