class_docstr: TCP socket handler backed tornado event loop.
  
  Parameters
  ----------
  sock : Socket
      The TCP socket, will set it to non-blocking mode.
class_docstr_tok: ["TCP","socket","handler","backed","tornado","event","loop",".","Parameters","--","--","--","--","--","sock",":","Socket","The","TCP","socket",",","will","set","it","to","non-blocking","mode","."]
code: def write_message(self, message, binary=True):
      assert binary
      if self._sock is None:
          raise IOError("socket is already closed")
      self._pending_write.append(message)
      self._update_write()
  
file_path: tvm/python/tvm/rpc/tornado_util.py
imports: import socket
  import errno
  from tornado import ioloop
label_desc: Use image node_id 4 for calling the TCPHandler obj's underlying member method code with example usage: obj.write_message(message, binary) without return types