add a socketing event