integrate sockets