Draw method and sockets