sample code for socket codeing SOCK_RAW.