Basic socket example.