Posts: 6,482
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1085 thank(s) in 857 post(s)
I now have a working protocol recognizer that can distinguish between 1.7 and previous versions. It is somewhat wacky, it might have some problems with 1.2, 1.3 and 1.4 clients, but I don't really care about those anymore.
I'm starting work on the raw protocol handler now.
Posts: 954
Threads: 16
Joined: May 2013
Thanks: 68
Given 112 thank(s) in 93 post(s)
Yay, after you finish uno point siete, will you remove all the old protocols?
Posts: 1,162
Threads: 68
Joined: Mar 2013
Thanks: 245
Given 128 thank(s) in 101 post(s)
You could drop 1.2, 1.3 and 1.4 protocol support but if you do keep 1.5 and 1.6
Posts: 6,482
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1085 thank(s) in 857 post(s)
Dropping 1.2 to 1.4 and keeping 1.5+ would be tricky, because each of those protocols effectively inherits from the previous ones, so the inherited stuff would need to be moved to higher protocols; that would be too much work. A much easier solution is to wait for 1.8 or 1.9, then cut off all pre-1.7 protocols at once - there's no inheritance between 1.6 and 1.7.
Posts: 6,482
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1085 thank(s) in 857 post(s)
Until I finish 1.7, I can't cut the older ones off - if I want to test stuff out, I want to be able to connect. So I still have to write a recognizer anyway; once it's there, there's no point in losing it.