title: python telnet server lib github send negotiation command
body: <p><strong>python telnet server lib github send negotiation command</strong></p>
  <p>lib link <a href="https://github.com/cragcraig/telnet-py/blob/master/server.py" rel="nofollow noreferrer">githup</a>
  In telent protocol there is something called negotiation. It is the commands between the server and the client that are as authentication. Before getting an accept connection
  like</p>
  <blockquote>
  <p>\xff\xfb\x01\xff\xfb\x03\xff\xfd\x18\xff\xfd\x1f</p>
  </blockquote>
  <p>u can just find it on socket telnet  connection</p>
  <pre><code>import socket
  import sys
  
  HOST = 'server ip'   # Symbolic name, meaning all available interfaces
  PORT = 23
  import socket
  import gzip
  s = socket.socket()
  #Connecting using telnet
  s.connect((HOST,23))
  v = s.recv(1000)
  print(v)
  </code></pre>
  <p>the lib was i found is not supported that
  how i can make this telnet server support negotiation</p>