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 641881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:06:38+00:00 2026-05-13T21:06:38+00:00

I am looking into developing a small (read:rudimentary) web server on a linux platform

  • 0

I am looking into developing a small (read:rudimentary) web server on a linux platform and I have no idea where to start.

What I want it to be able to do is:

  • Listen on a specific port
  • Take HTTP post and get requests
  • Respond appropriately
  • No session management required
  • Has to be in C or C++
  • Has to run as a service on boot

I am familiar with HTTP headers and am an experienced PHP and .Net web developer, but I am not sure where to start with this task.

Can you advise me with some resources to bridge the learning curve?

  • 1 1 Answer
  • 1 View
  • 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-05-13T21:06:38+00:00Added an answer on May 13, 2026 at 9:06 pm

    From top-down, you’ll need to know about:

    • HTTP Protocol
    • TCP server – BSD socket programming
    • writing a basic Unix daemon (persistent service)
    • process management (fork)
    • parsing text (read a configuration text file)
    • file handling (I/O)
    • debugging C / C++ programming 🙂

    So you will have to learn about writing a basic Unix application, BSD socket programming for the TCP/IP network programming, and the HTTP protocol.

    Commonly used texts include:

    Unix application development:

    • Advanced Programming in the Unix Environment, Stevens & Rago
    • Advanced Unix Programming

    TCP/IP (sockets) programming:

    • Unix Network Programming, Volume 1 Stevens et all
    • TCP/IP Illustrated, Stevens
    • Ineternetworking with TCP/IP, Volume 3, Comer

    HTTP Protocol

    • RFCs including
    • RFC 2616 for HTTP v1.1,
    • RFC 2068 for pre-v1.1
    • plus others depending on support (compression, URI / URL) and completeness
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Developing cross platform mobile application I have been tasked with looking into
I am looking into developing a small app to run on a blackberry which
Looking into developing new startup with potential of hopefully having high volume. Initial idea
I'm about to start looking into developing with the aid of code coverage, and
We're looking into developing an application that can read from and write to Lotus
I'm looking into developing a console application in python which should be able to
I am looking into the NetBeans platform for developing desktop applications. I am a
I'm looking into developing a web application hosted on Amazon Web Services and I
I am looking into developing a commercial application using PHP. Since I have experience
I am currently looking into developing some WebParts for Microsoft Sharepoint 2010. I have

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.