1st example of socket