in reply to sockets question
I can image that some broken TCP/IP stacks don't handle close properly in all cases. Try using shutdown before close.