IF we send a huge different type of data(image,videos and music) for example through a network it will physically represented as bits 10101010 the question is how the device that will receive the data will know the bits that represent each type or lets say how it will decrypt that
Jump to Post
The device doesn't care. The device handles frames (google for Ethernet protocol) which have mechanisms for synchronisation and consistency.
A device is simply handed a frame (from some upper layer protocol, for example) and sends that frame out. On the receiving side, that frame is received and handed up …