Method: Packet::Core::CommonMethods#handle_external_messages
- Defined in:
- lib/packet/packet_core.rb
#handle_external_messages(t_sock) ⇒ Object
217 218 219 220 221 222 223 224 |
# File 'lib/packet/packet_core.rb', line 217 def (t_sock) sock_fd = t_sock.fileno if sock_opts = listen_sockets[sock_fd] accept_connection(sock_opts) else read_external_socket(t_sock) end end |