refactor(socket, view) apply -> bind