old works with all sockets, multi (should) work only on js