Class: TFTP::Packet::WRQ

Inherits:
Object
  • Object
show all
Defined in:
lib/tftp/tftp.rb

Instance Method Summary collapse

Instance Method Details

#to_strObject


32
# File 'lib/tftp/tftp.rb', line 32

def to_str; "\x00\x02" + self.filename + "\x00" + self.mode.to_s + "\x00"; end