# Hexadecimal binary socket transfer

**URL:** <https://forum.inductiveautomation.com/t/hexadecimal-binary-socket-transfer/17692>\
**Category:** Ignition\
**Created:** [April 12, 2018, 7:59pm UTC](https://forum.inductiveautomation.com/t/hexadecimal-binary-socket-transfer/17692 "2018-04-12T19:59:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 10, 2018, 12:05pm UTC](https://forum.inductiveautomation.com/t/hexadecimal-binary-socket-transfer/17692/6 "2018-05-10T12:05:42Z")

</div>

Consider using the techniques shown in clientserial.py, from [this thread](http://forum.inductiveautomation.com/t/how-to-listen-serial-data-without-interruption/15709/2), keeping the reading thread separate from the state machine that sends commands. The code should work well with a Java socket and a DataInputStream instead of a serial port.

---

_[View the full topic](https://forum.inductiveautomation.com/t/hexadecimal-binary-socket-transfer/17692)._
