tailhook / zerogw

A fast HTTP/WebSocket to zeromq gateway (UNMAINTAINED, take a look at swindon web server instead)
http://zerogw.com
MIT License
250 stars 27 forks source link

How does it work? #36

Open vatnoise opened 8 years ago

vatnoise commented 8 years ago

Hi, I'm quite new to sockets.

I have ZMQ and Ratchet installed and my socket server is being run from PHP.

I've installed zerogw and it seems "working"-ish. If I go to the page http://localhost:8000/hello it just throws a 404 error and the zerogw process outputs:

2016-08-12 14:55:25 [WARN] disk.c:289: (e2) Can't resolve ``/hello'': No such file or directory

So how do I make it connect to my TCP socket that's on port 5555?

tailhook commented 8 years ago

Hi,

I think this tutorial should work for you.

But frankly, I'm not sure you want to use zerogw for any serious project. The reason is: zerogw is largely unmaintained at the moment. Mostly because I'm not keen to write C anymore (unfortunately I haven't written any real competitor in rust yet, but I'm going to)