Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8335479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:41:22+00:00 2026-06-09T03:41:22+00:00

Sorry for the rather ignorant question, but I’m a bit confused regarding these two

  • 0

Sorry for the rather ignorant question, but I’m a bit confused regarding these two technologies. I wrote a webserver in C# that uses Fleck and everything works great but I realized I probably couldn’t find a hosting provider that would run .NET applications.

I want to use websockets and I found socket.io to be really popular but I’m not sure exactly what it is. Correct me if I’m wrong, but, is it just like writing a server in javascript and you run the javascript file with the node.exe application and then the server is running? How do people find hosting providers that will provide that sort of service?

Lastly, is socket.io just an extension of nodejs? Do you have to code your server in javascript when you use socket.io? Again, sorry for the very novice questions but I’m just trying to understand a few basic things before I continue. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T03:41:24+00:00Added an answer on June 9, 2026 at 3:41 am

    There are a few companies that will host your node application. Its not the same as your transitional web hosts where you provide them with files and they serve the files for you. When working with node you’re writing the actual web server.

    Some of the popular ones around are below:

    • https://devcenter.heroku.com/articles/nodejs
    • http://nodejitsu.com/
    • http://nodester.com/

    @Roest: A virtual server sounds intriguing. What are the pros and cons
    of such an approach? Also, considering how popular nodejs is how can
    its webserver hosting support be so limited? How do people use it?

    When working with a virtual server you have full rain over what your running on the server.

    Pros
    Freedom, you get to pick all the software you want to run on your machine. A lot of the times when working with nodejs you’re going to want some custom software to be running along side your application. Most of the time this is your database layer, which ever you choose.

    Cons
    YOU have to maintain it. Like @Roest stated, this isn’t much of a con for most people as this ties directly into the freedom a virtual server gives you but it is something you need to take into account.

    I think the reason you see limited support for nodejs is because its relatively new, and its so easy to setup yourself.

    I want to use websockets and I found socket.io to be really popular
    but I’m not sure exactly what it is. Correct me if I’m wrong, but, is
    it just like writing a server in javascript and you run the javascript
    file with the node.exe application and then the server is running?

    That’s pretty much exactly what nodejs is, or at least how you use it. Nodejs itself is Google’s V8 javascript engine running on your server, along with a large number of libraries and C bindings that allow you to interact with your server in a way that the V8 engine won’t let you.

    This is an example of a webserver in nodejs (A very limited one)

    var http = require('http');
    http.createServer(function (req, res) {
      res.writeHead(200, {'Content-Type': 'text/plain'});
      res.end('Hello World\n');
    }).listen(1337, '127.0.0.1');
    console.log('Server running at http://127.0.0.1:1337/');
    

    It just responses Hello World to every request and always returns a 200 status code.

    Going from something like this to a simple file server is fairly easy and quick, but a few people have already tackled this problem for you.

    http://expressjs.com/ – Very powerful web server, but still gives you a lot of freedoms.
    https://github.com/nodeapps/http-server – Simple web server, I use it mainly as a command line tool to instantly server files over http.

    Lastly, is socket.io just an extension of nodejs? Do you have to code
    your server in javascript when you use socket.io? Again, sorry for the
    very novice questions but I’m just trying to understand a few basic
    things before I continue. Thanks.

    socket.io among many others is a module of nodejs. Depending on your definition of extension it may be the wrong word to use. Most of the time when using socket.io you’r going to be using an existing http server and then extending, or wrapping your server with socket.io. I wrote a previous explanation of how nowjs does this. My guess is socket.io is very similar.

    To answer the bulk of that question: Yes, you will still be writing your code in javascript. You will just be utilizing the socket.io API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry if this question is too vague, but I'd rather not muddy it's point
Sorry for the rather subjective question, but I was hoping to get an opinion
Sorry that this is a rather large question. I cannot get the following C++
First of all, sorry if this is an obvious question, but I'm rather new
sorry for my rather general question, but I could not find a definite answer
Sorry for the odd question but this is one that makes me want to
Sorry for asking a rather n00b question, I am rather new to ASP.NET MVC.
Sorry for question but I can't find answer anywhere on internet. I couldn't find
Sorry for this simple question, but I can't solve it... There is an example:
Sorry, I know this question is easy, but I don't know how to get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.