posts: add tcp socket example