added info for using sockets