import socket example