Wednesday 11 January 2017

Architecture for barebones app that listens for both Web & plain text Sockets and emits SocketIO message

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)

Submitted January 11, 2017 at 09:37PM by eco_bach

No comments:

Post a Comment