Made sockets pointers