@@ -159,6 +159,20 @@ void doprocessing(int sock) {
*/
// write(sock, "\x00\xff\xfd\xf6", 4);
// write(sock, "\xff\xfb\x00", 3);
+
+ /*
+ https://www.rfc-editor.org/rfc/rfc658.html
+ https://www.rfc-editor.org/rfc/rfc652.html
+ https://www.iana.org/assignments/telnet-options/telnet-options.xhtml
+ https://stackoverflow.com/questions/273261/force-telnet-client-into-character-mode
+ https://www.omnisecu.com/tcpip/telnet-modes-of-operation.php
+ https://www.omnisecu.com/tcpip/iac-interpret-as-command-telnet.php
+ https://www.omnisecu.com/tcpip/telnet-negotiation.php
+ https://stackoverflow.com/questions/10413963/telnet-iac-command-answering
+ http://ryobbs.com/doku.php/terminal_iac
+ https://www.omnisecu.com/tcpip/telnet-commands-and-options.php
+ */
write(sock, "\xff\xfb\x01", 3);
// drain(sock);
write(sock, "\xff\xfb\x03", 3);