class TFTP::ClientSend
Public Class Methods
new(connection, peer_addr, listener, filename, file_data)
click to toggle source
Calls superclass method
TFTP::Send::new
# File lib/em-tftp.rb, line 267 def initialize(connection, peer_addr, listener, filename, file_data) super(connection, peer_addr, nil, listener, file_data) # we need to send a WRQ and get an ACK before sending @block_no = 0 @pos = 0 send_wrq(peer_addr, 69, filename) end