- revised packet and socket interface