I'm having trouble switching from {packet, 0} to {packet, 2} on an existing socket that has been used to receive a packet and send a reply. The next packet comes in with the packet size prefix. Is this intentional? Thanks, Joel --- Mac hacker with a performance bent http://www.linkedin.com/in/joelreymont