Method: Cinch::DCC::Outgoing::Send#send_handshake
- Defined in:
- lib/cinch/dcc/outgoing/send.rb
#send_handshake
This method returns an undefined value.
Send the handshake to the user.
59 60 61 62 |
# File 'lib/cinch/dcc/outgoing/send.rb', line 59 def send_handshake handshake = "\001DCC SEND %s %d %d %d\001" % [@filename, IPAddr.new(@own_ip).to_i, port, @io.size] @receiver.send(handshake) end |