I know this sounds basic, but I apparently cannot find this in the api doc, http://socket.io/docs/server-api/
what I have currently is front-end doing #emit and on for server-side code, and vice-versa.
What I am looking for is a socket#trigger function that triggers an event I made already.