Hello everyone,
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!
- Nicholas
Digital64
0
Newbie Poster
Recommended Answers
Jump to PostThe 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
ardi_lucy
0
Newbie Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.