basic peer-to-a-peer communication working with sine data