Right now our "protocol" is 4 size bytes + data. the data almost always is some sort of keyword used to tell the client wtf to do with the data. instead of these string keywords, maybe give each keyword a number and then just use like a byte in the header for that number (i can't imagine 256 keywords wouldn't be enough)
Right now our "protocol" is 4 size bytes + data. the data almost always is some sort of keyword used to tell the client wtf to do with the data. instead of these string keywords, maybe give each keyword a number and then just use like a byte in the header for that number (i can't imagine 256 keywords wouldn't be enough)