socket practise