• Welcome to Valhalla Legends Archive.
 

Packet Headers

Started by shout, August 28, 2004, 12:26 AM

Previous topic - Next topic

shout

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?

ChR0NiC

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?

shout

So they do have headers! DAMN YOU KARMA!

ChR0NiC

#3
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"

shout

#4
Quote from: ChRoNiC on August 28, 2004, 12:47 AM
All official BNET packets have a header of "FF"

:)

PaiD

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

MyndFyre

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.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.