sockets step 1