Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telnet Wrapper #1

Open
miralayipouya opened this issue Mar 5, 2022 · 2 comments
Open

Telnet Wrapper #1

miralayipouya opened this issue Mar 5, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@miralayipouya
Copy link

miralayipouya commented Mar 5, 2022

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!

@ivan-sincek
Copy link
Owner

Hi,

Sorry for the late response, was busy with my other projects.

Your suggestion sounds good! I will look into it once I finish working on the current projects.

Meanwhile, I will mark this as enhancement.

Best regards,
Ivan.

@ivan-sincek ivan-sincek added the enhancement New feature or request label Mar 13, 2022
@miralayipouya
Copy link
Author

I am so glad to here this.
Cheers!

@ivan-sincek ivan-sincek changed the title handler in java Telnet Wrapper Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants