Fun with Streams and TCP Sockets

I really enjoy reading Oren Eini’s blog at and his last two blog posts about a race condition in a TCP interaction he was able to resolve was classic Oren.

Read the first post here. The lesson learned in the second post is don’t switch streams. A very interesting lesson indeed.

If you are not already a fan and reader, I recommend you become one.