Does anyone have any experiance setting up a telnet server with python? I've seen plenty of tutorials for telnet clients but not a server?
I ask because I want to do a text based MMO and telnet seems like the easiest way for players to connect, as they won't have to download a client of any sort.
Telnet with Python
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Telnet with Python
Keep in mind that the default Windows Telnet client is so bad that it is basically unusable for games, so they will need to download a client of some kind; if nothing else, at least Putty.
As far as Telnet goes, it is basically just a raw TCP/IP connection transferring ASCII characters and other data. That is why there aren't a ton of Telnet libraries out there, since they are rarely needed to function, unless they are designed for some of the more advanced functionality, such as sending files perhaps. More info on Telnet can be found on the wikipedia page
As far as Telnet goes, it is basically just a raw TCP/IP connection transferring ASCII characters and other data. That is why there aren't a ton of Telnet libraries out there, since they are rarely needed to function, unless they are designed for some of the more advanced functionality, such as sending files perhaps. More info on Telnet can be found on the wikipedia page
The indelible lord of tl;dr
Re: Telnet with Python
I was actually doing this as sort of a niche game for me and some buddies. All of which are very computer literate and would be on linux or have putty installed haha 
Thanks for the info
EDIT: Wow the solution was simple, i just needed a socket listening on port 23. *facepalm* haha thanks guys
Thanks for the info
EDIT: Wow the solution was simple, i just needed a socket listening on port 23. *facepalm* haha thanks guys
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Telnet with Python
Yeah, Telnet is quite simple. Most technologies from the early 70's tend to not be that complex lol The entire idea of "libraries" was just starting to gain traction back then, to give some perspective on how simple and archaic those days were.
The indelible lord of tl;dr