Up to Main Index Up to Journal for December, 2012
JOURNAL FOR FRIDAY 7TH DECEMBER, 2012
______________________________________________________________________________
SUBJECT: Windows TELNET client now working
DATE: Fri Dec 7 23:00:20 GMT 2012
It's only taken me a week - due to work being hetic - but I've finally pushed
another update out to the development branch. This update removed the really
ugly kludge for windows in character mode. From the code's comments:
KLUDGE enables a temporary buffer to be built up until we see an LF at
which point we swap our temporary buffer for the partial buffer and
pretend nothing weird happened...
THIS IS NOT NICE, NOT SAFE, NOT FUNNY, NOT CHEESE! USE AT OWN RISK - MAY
DESTROY YOUR COMPUTER, COFFEE MAKER AND THE UNIVERSE - not necessarily in
that order or any other order.
This should not be needed when RFC1184 is implemented along with a *lot*
of other TELNET related RFCs
Now you can see why people actually *like* reading my code ;)
So the client networking code is cleaner, more efficient and it handles
character at a time and line mode clients. That also means the Windows TELNET
client works without problems now. Below is a complete list of the current
changes pushed out:
Andrew 'Diddymus' Rolfe (6):
client: Drop idle retries
client: Cleanup comments
client: Drop KLUDGE, fix receive() multi-commands
client: Make MAX_TIMEOUT more flexible
client: Reduce Send() processing
stats: Log stats frequency and increase frequency
--
Diddymus
Up to Main Index Up to Journal for December, 2012