title: Lua binary networking
body: <p>Trying to create network game using Corona SDK, but have some troubles with lua sockets.
  At first I used tcp and json data, but now remaking to udp and binary data.
  <br/>How can I send custom structure to server?
  <br/>For example, I need to send code of operation (short), ID (long) and two coordinates (float).
  I can do that with C or Java, but don't understand how to do that with Lua, how to write it into socket?</p>