Upon packetlogging starcraft, I noticed that the packets I was receiving happened to not have headers. I was wondering if this has something to do with starcraft or do some packets not have headers?
Quote from: shout on August 28, 2004, 12:26 AM
Upon packetlogging starcraft, I noticed that the packets I was receiving happened to not have headers. I was wondering if this has something to do with starcraft or do some packets not have headers?
Possibly it could have been a packet that had been continued after being cut off in a previous packet?
So they do have headers! DAMN YOU KARMA!
Quote from: shout on August 28, 2004, 12:46 AM
So they do have headers! DAMN YOU KARMA!
All official BNET packets have a header of "0xFF"
Quote from: ChRoNiC on August 28, 2004, 12:47 AM
All official BNET packets have a header of "FF"
:)
if you packet logged the Starcraft Client you might have see (and probly did see) udp packets to and from bnet.. That would be my guess
Quote from: ChRoNiC on August 28, 2004, 12:47 AM
Quote from: shout on August 28, 2004, 12:46 AM
So they do have headers! DAMN YOU KARMA!
All official BNET packets have a header of "0xFF"
Not only do they have the header of the byte 0xff (as opposed to "0xFF" which is a text string), they also then have the packet ID (which is a byte) and the length (which is a word).
I'm sorry for having been a bit militant in this post, but I'm really tired of people limiting the BNCS protocol header to just 0xff. The BNCS protocol header is four bytes long. If it isn't four bytes long, then it's not the BNCS protocol header. It's some other random crap.