Setting in the header: version, padding, marker, payload type, CSRC count.
Working with time stamp
no message
no message
Implementation in the Client of the Game Application Protocol
Reception of data from the input stream in a buffer provided by the protocol
Definition of payload for each protocol primitive
Definition of:
 - GAP packets
 - Node entity
 - Scene entity
no message
Understanding the problem when reading the inputStream using and UnsafeMutablePointer<UInt8> that should point to the memory of a GAPHeader.

For any reason, sizeof(GAPHeader) is returning 16 bytes, when the structure of GAPHeader is composed in fact by 15 bytes. So, inputStream.read is copying 16 bytes, and when we tried to access with an UnsafeMutablePointer<GAPHeader> we got an bad access error.
The Communication Protocol y reading the packet received throught the inputStream.
We are using the buffer created by Communication Protocol.
Resolved the problem with the parsing of the incoming packet to an structure of GAPNodePacket.
Inside the header we had a text field of 4 bytes that was not well controlled, causing a misalignment of the information received.
Deleted rubbish code.
Implemented the transmition of primitive SCENE and NODE. Good reception. Pending to refresh in the client the text fields with the id´s received