├── .gitignore ├── Makefile ├── README.md ├── client_session.c ├── endpoint.h ├── endpoint_impl.h ├── endpoints.c ├── example ├── chatroom.c ├── socket.io_server.c └── whiteboard.c ├── flashsocket.c ├── handle_static.c ├── htmlfile.c ├── include ├── c-websocket │ ├── README.txt │ ├── base64.c │ ├── base64.h │ ├── cWebSockets.c │ ├── cWebSockets.h │ ├── md5.c │ ├── md5.h │ ├── sha1.c │ └── sha1.h ├── ev.h ├── http-parser │ ├── AUTHORS │ ├── CONTRIBUTIONS │ ├── LICENSE-MIT │ ├── Makefile │ ├── README.md │ ├── ghashdemo.c │ ├── http_parser.c │ ├── http_parser.gyp │ ├── http_parser.h │ ├── http_parser.o │ └── test.c └── libev.a ├── jsonp-polling.c ├── log.c ├── log.conf ├── log.h ├── log └── NOTE.TXT ├── need.todo ├── parseurl.c ├── safe_mem.h ├── server.ini ├── socket.io_base.c ├── socket.io_handle_post.c ├── socket.io_handle_request.c ├── socket.io_server.h ├── socket_io.c ├── socket_io.h ├── static ├── NOTE.txt ├── chatroom.html ├── css │ ├── chat.css │ └── style.css ├── favicon.ico ├── img │ ├── eraser.cur │ ├── eraser.gif │ ├── pencil.cur │ └── pencil.gif ├── index.html ├── js │ ├── canvas-menu.js │ ├── canvas-socketio.js │ ├── canvas-touch.js │ ├── canvasdraw.js │ ├── excanvas.js │ ├── jquery-1.6.2.js │ └── jquery-1.8.3.min.js ├── socket.io │ ├── socket.io.js │ └── static │ │ └── flashsocket │ │ ├── WebSocketMain.swf │ │ └── WebSocketMainInsecure.swf └── whiteboard.html ├── store.c ├── store.h ├── transport.h ├── transports.c ├── transports.h ├── websocket.c └── xhr-polling.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/README.md -------------------------------------------------------------------------------- /client_session.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/client_session.c -------------------------------------------------------------------------------- /endpoint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/endpoint.h -------------------------------------------------------------------------------- /endpoint_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/endpoint_impl.h -------------------------------------------------------------------------------- /endpoints.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/endpoints.c -------------------------------------------------------------------------------- /example/chatroom.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/example/chatroom.c -------------------------------------------------------------------------------- /example/socket.io_server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/example/socket.io_server.c -------------------------------------------------------------------------------- /example/whiteboard.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/example/whiteboard.c -------------------------------------------------------------------------------- /flashsocket.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/flashsocket.c -------------------------------------------------------------------------------- /handle_static.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/handle_static.c -------------------------------------------------------------------------------- /htmlfile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/htmlfile.c -------------------------------------------------------------------------------- /include/c-websocket/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/c-websocket/README.txt -------------------------------------------------------------------------------- /include/c-websocket/base64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/c-websocket/base64.c -------------------------------------------------------------------------------- /include/c-websocket/base64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/c-websocket/base64.h -------------------------------------------------------------------------------- /include/c-websocket/cWebSockets.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/c-websocket/cWebSockets.c -------------------------------------------------------------------------------- /include/c-websocket/cWebSockets.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/c-websocket/cWebSockets.h -------------------------------------------------------------------------------- /include/c-websocket/md5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/c-websocket/md5.c -------------------------------------------------------------------------------- /include/c-websocket/md5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/c-websocket/md5.h -------------------------------------------------------------------------------- /include/c-websocket/sha1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/c-websocket/sha1.c -------------------------------------------------------------------------------- /include/c-websocket/sha1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/c-websocket/sha1.h -------------------------------------------------------------------------------- /include/ev.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/ev.h -------------------------------------------------------------------------------- /include/http-parser/AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/AUTHORS -------------------------------------------------------------------------------- /include/http-parser/CONTRIBUTIONS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/CONTRIBUTIONS -------------------------------------------------------------------------------- /include/http-parser/LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/LICENSE-MIT -------------------------------------------------------------------------------- /include/http-parser/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/Makefile -------------------------------------------------------------------------------- /include/http-parser/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/README.md -------------------------------------------------------------------------------- /include/http-parser/ghashdemo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/ghashdemo.c -------------------------------------------------------------------------------- /include/http-parser/http_parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/http_parser.c -------------------------------------------------------------------------------- /include/http-parser/http_parser.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/http_parser.gyp -------------------------------------------------------------------------------- /include/http-parser/http_parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/http_parser.h -------------------------------------------------------------------------------- /include/http-parser/http_parser.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/http_parser.o -------------------------------------------------------------------------------- /include/http-parser/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/http-parser/test.c -------------------------------------------------------------------------------- /include/libev.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/include/libev.a -------------------------------------------------------------------------------- /jsonp-polling.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/jsonp-polling.c -------------------------------------------------------------------------------- /log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/log.c -------------------------------------------------------------------------------- /log.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/log.conf -------------------------------------------------------------------------------- /log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/log.h -------------------------------------------------------------------------------- /log/NOTE.TXT: -------------------------------------------------------------------------------- 1 | just for save server logs -------------------------------------------------------------------------------- /need.todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/need.todo -------------------------------------------------------------------------------- /parseurl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/parseurl.c -------------------------------------------------------------------------------- /safe_mem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/safe_mem.h -------------------------------------------------------------------------------- /server.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/server.ini -------------------------------------------------------------------------------- /socket.io_base.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/socket.io_base.c -------------------------------------------------------------------------------- /socket.io_handle_post.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/socket.io_handle_post.c -------------------------------------------------------------------------------- /socket.io_handle_request.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/socket.io_handle_request.c -------------------------------------------------------------------------------- /socket.io_server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/socket.io_server.h -------------------------------------------------------------------------------- /socket_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/socket_io.c -------------------------------------------------------------------------------- /socket_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/socket_io.h -------------------------------------------------------------------------------- /static/NOTE.txt: -------------------------------------------------------------------------------- 1 | Your webapp file here ... -------------------------------------------------------------------------------- /static/chatroom.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/chatroom.html -------------------------------------------------------------------------------- /static/css/chat.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/css/chat.css -------------------------------------------------------------------------------- /static/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/css/style.css -------------------------------------------------------------------------------- /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/favicon.ico -------------------------------------------------------------------------------- /static/img/eraser.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/img/eraser.cur -------------------------------------------------------------------------------- /static/img/eraser.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/img/eraser.gif -------------------------------------------------------------------------------- /static/img/pencil.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/img/pencil.cur -------------------------------------------------------------------------------- /static/img/pencil.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/img/pencil.gif -------------------------------------------------------------------------------- /static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/index.html -------------------------------------------------------------------------------- /static/js/canvas-menu.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/js/canvas-menu.js -------------------------------------------------------------------------------- /static/js/canvas-socketio.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/js/canvas-socketio.js -------------------------------------------------------------------------------- /static/js/canvas-touch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/js/canvas-touch.js -------------------------------------------------------------------------------- /static/js/canvasdraw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/js/canvasdraw.js -------------------------------------------------------------------------------- /static/js/excanvas.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/js/excanvas.js -------------------------------------------------------------------------------- /static/js/jquery-1.6.2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/js/jquery-1.6.2.js -------------------------------------------------------------------------------- /static/js/jquery-1.8.3.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/js/jquery-1.8.3.min.js -------------------------------------------------------------------------------- /static/socket.io/socket.io.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/socket.io/socket.io.js -------------------------------------------------------------------------------- /static/socket.io/static/flashsocket/WebSocketMain.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/socket.io/static/flashsocket/WebSocketMain.swf -------------------------------------------------------------------------------- /static/socket.io/static/flashsocket/WebSocketMainInsecure.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/socket.io/static/flashsocket/WebSocketMainInsecure.swf -------------------------------------------------------------------------------- /static/whiteboard.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/static/whiteboard.html -------------------------------------------------------------------------------- /store.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/store.c -------------------------------------------------------------------------------- /store.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/store.h -------------------------------------------------------------------------------- /transport.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/transport.h -------------------------------------------------------------------------------- /transports.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/transports.c -------------------------------------------------------------------------------- /transports.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/transports.h -------------------------------------------------------------------------------- /websocket.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/websocket.c -------------------------------------------------------------------------------- /xhr-polling.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongboy/c_socket.io_server/HEAD/xhr-polling.c --------------------------------------------------------------------------------