Changes between Version 1 and Version 2 of Documentation/OtherApps/Iperf/IperfReceiver


Ignore:
Timestamp:
Sep 5, 2006, 9:41:15 PM (18 years ago)
Author:
Surya Satyavolu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/OtherApps/Iperf/IperfReceiver

    v1 v2  
    3636if $0 == __FILE__
    3737  require 'stringio'
     38  require 'rexml/document'
     39  include REXML
     40   
     41  sio = StringIO.new()
     42  a.to_xml.write(sio, 2)
     43  sio.rewind
     44  puts sio.read
     45 
     46  sio.rewind
     47  doc = Document.new(sio)
     48  t = AppDefinition.from_xml(doc.root)
     49 
     50  puts
     51  puts "-------------------------"
     52  puts
     53  t.to_xml.write($stdout, 2)
     54 
     55end
     56
     57
    3858
    3959}}}