Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #5444
| From | Michael Griffin <mrmisticismo@hotmail.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: Sending Telnet “DON'T” or “WON'T” after having a successful a “DO” or “WILL”. |
| Date | 2015-05-20 00:17 -0500 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <555C18D1.5070005@hotmail.com> (permalink) |
| References | <4wQ6x.38225$yI2.34601@fx19.iad> |
On 5/19/2015 7:25 PM, Daniel Pitts wrote: > I apologize if this is off topic, not quite sure where else to ask. > > I'm implementing my own Telnet library in Java (just because). I'm > wondering if my library should allow sending a "WONT" or "DONT" that was > otherwise unsolicited. I'm also wondering if my library should reply to > unsolicited "DONT" or "WONT" requests with the "WONT" or "DONT" reply > respectively. The RFC isn't quite clear on that part of the contract. > > All of this is assuming that I've already sent a DO and got a WILL, or > visa versa. > > > Thanks, > Daniel. Well usually the server is the one that initiates the negotiation. If it's a client, then it should usually respond back with what the server is querying like BINARY, ECHO, NAWS etc.. But of course if an expected response is not received by the client, it is allowed to ask the server for it's preference. Unsolicited response are allowed, and can either be responded to, or ignored. You want to be aware of possible loops where responses keep exchanging back and forth between the server and client well after they been answered. Michael telnet://htc.zapto.org
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sending Telnet “DON'T” or “WON'T” after having a successful a “DO” or “WILL”. Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2015-05-19 17:25 -0700
Re: Sending Telnet “DON'T” or “WON'T” after having a successful a “DO” or “WILL”. Michael Griffin <mrmisticismo@hotmail.com> - 2015-05-20 00:17 -0500
Re: Sending Telnet “DON'T” or “WON'T” after having a successful a “DO” or “WILL”. Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2015-05-20 07:38 -0700
csiph-web