class_docstr: Telnet server implementation.
docstr: Handle incoming data on socket.
docstr_tok: ["Handle","incoming","data","on","socket","."]
code: def _handle_incoming_data(self, conn):
      """
      Handle incoming data on socket.
      """
      connection = [c for c in self.connections if c.conn == conn][0]
      data = conn.recv(1024)
      if data:
          connection.feed(data)
      else:
          self.connections.remove(connection)
  
imports: from __future__ import unicode_literals
  import socket
  import select
  import threading
  import os
  import fcntl
  from six import int2byte, text_type, binary_type
  from codecs import getincrementaldecoder
  from prompt_toolkit.enums import DEFAULT_BUFFER
  from prompt_toolkit.eventloop.base import EventLoop
  from prompt_toolkit.interface import CommandLineInterface, Application
  from prompt_toolkit.layout.screen import Size
  from prompt_toolkit.shortcuts import create_prompt_application
  from prompt_toolkit.terminal.vt100_input import InputStream
  from prompt_toolkit.terminal.vt100_output import Vt100_Output
  from .log import logger
  from .protocol import IAC, DO, LINEMODE, SB, MODE, SE, WILL, ECHO, NAWS, SUPPRESS_GO_AHEAD
  from .protocol import TelnetProtocolParser
  from .application import TelnetApplication
label_desc: Use image node_id 8 for calling the TelnetServer obj's underlying member method code with example usage: obj._handle_incoming_data(conn) without return types