dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Simple Node app that listens to port 4 both Text and Websockets & sends SocketIO msgs

  1. #1
    Join Date
    Jan 2017
    Posts
    1

    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)

  2. #2
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    4,799
    You need the JavaScript Frameworks forum not the JavaScript forum.

    See my signature for direct link to page.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... 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...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles