GetDWord | ||
---|---|---|
Prototype | long GetDWord( offset ); | |
Purpose | Return a 32bit word from a socket at offset | |
Example of Usage | var cName = sock.GetDWord( 0 ); |
CreateBuffer | ||
---|---|---|
Prototype | BUFID CreateBuffer( len ); | |
Purpose | Creates a buffer of length len | |
Example of Usage | var buf = CreateBuffer( 24 ); |
DestroyBuffer | ||
---|---|---|
Prototype | DestroyBuffer( buffer ); | |
Purpose | Destroys memory allocated with CreateBuffer | |
Example of Usage | DestroyBuffer( buf ); |
SendBuffer | ||
---|---|---|
Prototype | SendBuffer( socket, bufferID ); | |
Purpose | Sends buffer bufferID to socket | |
Example of Usage | SendBuffer( sock, buf ); |
RegisterPacketHandler | ||
---|---|---|
Prototype | ||
Purpose | ||
Example of Usage |
UnregisterPacketHandler | ||
---|---|---|
Prototype | ||
Purpose | ||
Example of Usage |