Simple Node app that listens to port 4 both Text and Websockets & sends SocketIO msgs
Need some feedback on best architecture for a barebones NodeJS app.
These are the requirements
-It should be configurable to listen on a specific port
-It should accommodate listening for both Web and plain vanilla TCPIP sockets
-It should emit or broadcast a message when it receives the Web or plain Text Socket message to a single client using Socket_IO(no choice here)
Ok, simple enough for any NodeJS experts.
What packages do I need in addition to Socket-IO?
Do I need express?
General outline? (I'm not asking for final working code, just an outline)
See my signature for direct link to page.
... and please remember to wrap code with forum BBCode tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread