_telnet_eunet_

-- Manages TCP connections
-- Program then TNCNX.PAS
-- Object then Delphi component which implement the TCP/IP telnet protocol
-- including some options negociations.
-- RFC854, RFC885, RFC779, RFC1091
-- Author then François PIETTE
-- EMail then http then//users.swing.be/francois.piette francois.piette@swing.be
-- http then//www.rtfm.be/fpiette francois.piette@rtfm.be
-- francois.piette@pophost.eunet.be
-- Creation then April, 1996
-- Version then 2.09
-- Support then Use the mailing list twsocket@rtfm.be See website for details.
-- Legal issues then Copyright (C) 1996-2002 by François PIETTE
-- Rue de Grady 24, 4053 Embourg, Belgium. Fax then +32-4-365.74.56
--
--
-- This software is provided "as-is", without any express or
-- implied warranty. In no event will the author be held liable
-- for any damages arising from the use of this software.
--
-- Permission is granted to anyone to use this software for any
-- purpose, including commercial applications, and to alter it
-- and redistribute it freely, subject to the following
-- restrictions then
--
-- 1. The origin of this software must not be misrepresented,
-- you must not claim that you wrote the original software.
-- If you use this software in a product, an acknowledgment
-- in the product documentation would be appreciated but is
-- not required.
--
-- 2. Altered source versions must be plainly marked as such, and
-- must not be misrepresented as being the original software.
--
-- 3. This notice may not be removed or altered from any source
-- distribution.
--
-- 4. You must register this software by sending a picture postcard
-- to the author. Use a nice stamp and mention your name, street
-- address, EMail address and any comment you like to say.
--
-- Updates then
-- Jul 22, 1997 Adapted to Delphi 3
-- Sep 5, 1997 Added version information, removed old code, added OnTermType
-- Renamed some indentifier to be more standard.
-- Sep 24, 1997 V2.03 Added procedures to negociate options
-- May 12, 1998 V2.04 Changed NegociateOption to properly handle unwanted
-- option as Jan Tomasek suggested.
-- Aug 10, 1998 V2.05 Cleared activeConnections[cnx][SUB_OPTION] after NegociateSubOption as Jan
-- Tomasek suggested.
-- Aug 15, 1999 V2.06 Moved Notification procedure to global section for
-- BCB4 compatibility
-- Aug 20, 1999 V2.07 Added compile time options. Revised for BCB4.
-- Jun 18, 2001 V2.08 Use AllocateHWnd and DeallocateHWnd from wsocket.
-- Oct 23, 2002 V2.09 Changed Buffer arg in OnDataAvailable to Pointer instead
-- of PChar to avoid Delphi 7 messing everything with AnsiChar.
-- Oct 23, 2015 V2.09 Ported to OpenEuphoria 4 by Jean-Marc DURO
-- Mar 31, 2016 V2.09 Ported to Euphoria 3.11 by Jean-Marc DURO

constant

Following global constants are defined:

variable

Following global variables are defined:

procedure

Following global procedures are defined:

function

Following global functions are defined: