new version no need global buffer

with help of rango i finished my fix header packet server
and i found the example is wrong.now this is my code .to other newbie