Method: Packet::Connection#send_data
- Defined in:
- lib/packet/packet_connection.rb
#send_data(p_data) ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/packet/packet_connection.rb', line 12 def send_data p_data @outbound_data << p_data begin write_and_schedule(connection) rescue DisconnectError => sock close_connection end end |