I'm trying to make a simple telnet chat program, but I quickly came to the realisation that I don't really know how to get the client to bind to the server. I understand the logic of how I'm going to send data to a connected client, but the challance I'm facing is how, when a client establishes a connection to the server, is it going to recognise that connection and prevent the client from assuming a login timeout and disconnecting. Is there some special command that needs to be dispatched to the client? Am I completely doing this wrong? Any help would be greatly appreciated, Thanks!
Jump to Post
The telnet protocol has a complete conversation between client and server on startup. When you connect, it (the server) sends you queries about what your (the client) capabilites are, and you need to catch them and reply accordingly. That is so the server knows what to do when you send …
All 3 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.