I am using the momo mac project, to develop and compile a C# websocket on OS X Mountain Lion.
I've used the example websocket from Websocket server: onopen function on the web socket is never called to just get an idea of how it's working. My problem is, I don't know how to host the websocket.
I've put it in the root directory of my MAMP localhost folder, and linked to it, like in the example code, at this path localhost:8181/websession.
Problem is the socket just fires the onclose event immediately. There's no call to the onerror function, so no error data.
- How do I run the C# Program on OS X?
- Where do I put the WebSocket?