progams written on sockets