Sorry, I think perhaps I haven't explained mysef very well.
I'm building a telnet client to be loaded on one of my bots, to connect to the existing telnet servers on any of my other bots and, in effect, manipulate their partyline via an IRC channel. My client will automatically send username and password when prompted to do so by the server it is connected to. I'm not aware I have a choice other than to use the configured telnet listening ports on the bots I'm connecting to.
The existing eggdrop telnet servers look to be very simplistic in nature, uncluttered by the usual telnet protocol negotiation. In fact, other than what appears to be something like an IAC WILL ECHO sequence immediately after the server sends 'Enter your password.', I haven't yet seen any others. This makes coding my client very much easier as I can completely ignore (regsub out) telnet protocol from the incoming data stream.
Technically therefore, these are the facts. My client, using a native Tcl socket, behaves pretty much as putty would in establishing a telnet connection. Both cause a 'Timeout/EOF ident' partyline log on the bot they connect to. However, putty receives a data stream pretty much immediately whilst my client has a tendency for this smallish yet annoying delay of sometimes a few seconds. I had assumed it was sometimes a mite longer than could simply be explained by lag in outputting to an IRC channel, though I am not certain.
Possibly the difference is that a proper telnet client sends some sort of telnet protocol connection string immediately the connection is established, which relates to my origional question. If anyone has any thoughts on this, I would appreciate some feedback.
I can now confirm that 'set ident-timeout' in the desination bot's .conf file has nothing to do with this connection. I temporarily set it to 60 seconds. This had no effect on the connection and no effect on receipt of the party line logged 'Timeout/EOF ident connection'.
Anyway, other than this minor 'delay' issue, the client is functioning well as per the following screenshot.
