Example socks programming.