Changes between Version 1 and Version 2 of Documentation/OtherApps/Iperf/IperfReceiver
- Timestamp:
- Sep 5, 2006, 9:41:15 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/OtherApps/Iperf/IperfReceiver
v1 v2 36 36 if $0 == __FILE__ 37 37 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 55 end 56 57 38 58 39 59 }}}