1ndivisible 0 Newbie Poster

Hi,

Hello,

I've written a simple Python(2.6) server that I am connecting to through a Binary Socket from an AIR application. I can successfully send text and numbers through, but when I try and send a 3 byte ByteArray through, I receive the ByteArray as a string. More specifically the String 'A f'. I am absolutely certain that the ByteArray is ok when it leaves Air. I am very new to Python, so if anyone can suggest where I might be going wrong I'd really appreciate it.

Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.