How much are you sending? You can always use masks to squeeze everything into one byte, let's say you have this:
IJustPwndHim = 0-1
HeJustPwndMe = 0-1
DaPwnCounter = 0-9
PONIES = 0-3
Instead of sending 4 bytes of data, you can press that all into one byte and send it:
DaByte = 0
DaByte = IJustPwndHim || (HeJustPwndMe<<1) || (DaPwnCounter<<2) || (PONIES<<5)
net put byte DaByte
net send all
`Because
`IJustPwndHim = 0000'0001
`HeJustPwndMe = 0000'0001
`DaPwnCounter = 0000'1111
`PONIES = 0000'0011
`So by shifting them so no 1's overlap, you get:
`IJustPwndHim = 0000'0001
`HeJustPwndMe<<1 = 0000'0010
`DaPwnCounter<<2 = 0011'1100
`PONIES<<5 = 1100'0000
`And because none of the 1's are now overlapping, you can squish
`them all together to form 1 byte of data:
`DaByte = 1111'1111
Same goes for decoding it on the other side:
DaByte = net get byte() : rem I think that's the command...
IJustPwndHim = DaByte && 0x01
HeJustPwndMe = (DaByte && 0x02)>>1
DaPwnCounter = (DaByte && 0x3C)>>2
PONIES = (DaByte && 0xC0)>>5
TheComet