basic transfer of data via packets
implemented initSegmentList