# XML Sockets and Images

**URL:** <https://forum.kirupa.com/t/xml-sockets-and-images/293396>\
**Category:** flash\
**Created:** [July 28, 2009, 1:37pm UTC](https://forum.kirupa.com/t/xml-sockets-and-images/293396 "2009-07-28T13:37:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Endovelico](https://avatars.discourse-cdn.com/v4/letter/e/e495f1/32.png) [@Endovelico](https://forum.kirupa.com/u/Endovelico)\
**Post date:** [July 28, 2009, 1:37pm UTC](https://forum.kirupa.com/t/xml-sockets-and-images/293396/1 "2009-07-28T13:37:08Z")

</div>

Not sure this is the correct subforum, but i think so anyway.

Heres the setting:

I have a backend with access to a database. In this database there is a byte[] field where i store images. My frontend (Flash Lite 3.0) communicates with the backend through XMLSockets.

The problem:

I want to send over the byte[] through the XMlSockets to the frontend and load them, but im not sure how…  
Do i just send the byte[]? Do i convert it to string or something? Any ideas?
