Skip to content

Telnet Wrapper #1

Open
Open
@miralayipouya

Description

@miralayipouya

Hi @ivan-sincek awesome work Bro!

Do you have any opinion's regarding handler implementation in java?
I know this ends up using SocketServer but I am looking forward to something such as a TelnetWrapper around our client socket to interact smoothly.
In python, I do this as below:

    def wrap(self, client): # client is our accepted socket from shell!
        self.tsock = telnetlib.Telnet()
        self.tsock.sock = client # this line wraps our telnet object around client socket.

with above functionality, I have access to interesting things directly inside python!

I looked for telnet libraries in java and found apache.commons.net.telnet which only tries to bind instead of wrap!
I would appreciate your insights around a handler solution for java.

Cheers Bro!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions