Prototype raw socket code