• Welcome to Valhalla Legends Archive.
 

Packet Help - Local IP

Started by Elneroth, June 28, 2005, 02:35 PM

Previous topic - Next topic

UserLoser.

Use inet_addr or as Kp always says, inet_pton or inet_aton.  I don't think the last two are used on Windows, though.

Edit:
Quote
.InsertDWORD Val("&H" & VarVerByte)

Let me be the first to say, wtf.  Just insert VarVerbyte, what you're doing is completely pointless...

R.a.B.B.i.T

I really don't get why people always store the version byte as a string...it's a BYTE and hence NUMERICAL.  Dammit people....

Archangel

Public varVerByte as Byte
varVerByte = &HCB (For starcraft)
I'm not an Addict.