adding basic socket example