Added socket example.