How to use Telnet?

Discussion in 'Empyrion API' started by JCD, Jun 6, 2019.

  1. JCD

    JCD Lieutenant

    Joined:
    Jun 4, 2019
    Messages:
    14
    Likes Received:
    7
    I am trying to make a local chat mod. This mod requires me to send chat messages only to specific players. Telnet looks like it is the only way unless I want to make the message appear as popup notifications. I can't find any examples of Telnet clients used in mods. I have found a number of free libraries that I can use, but I have a feeling Telnet isn't supported anymore.

    This is my attempt at doing this, without much error handling added yet. Can anyone tell me more about how this works, or if I'm missing something?
     
    #1
    angelbienne likes this.
  2. JCD

    JCD Lieutenant

    Joined:
    Jun 4, 2019
    Messages:
    14
    Likes Received:
    7
    Seems the new API in the works has what I need. No telnet required. Ignore this post then...
     
    #2
  3. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    The old API 1.4 could do it.
    I believe I've seen it is already written into API 2.1
     
    #3
  4. Our Grid

    Our Grid Captain

    Joined:
    Nov 2, 2016
    Messages:
    100
    Likes Received:
    58
    This is the only TelNet thread I could find, so I thought I'd start here:

    As OP How to use it? I have setup putty and such and it just says connection refused when I try it.

    Suggestions? (Telnet client and server are installed on the server and machine I'm trying with, both machines on same LAN)

    Thanks!
     
    #4
    angelbienne likes this.

Share This Page