Thread: Simple TCP/IP web server in C Programming - convert from linux to win32, help

  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    34

    Exclamation Simple TCP/IP web server in C Programming - convert from linux to win32, help

    Hi all,
    i find this good simple program (Simple TCP/IP web server) written to linux, and i want it work on Dev-c++ or VC++ please

    this is all codes in html format:
    HTML output

    anyone can convert it to work with win32 please?

    all what i need just simple code:
    i have php page:
    Code:
    <?PHP
    $name = $_GET['name'];
    if ($name != "") {
       print "The variable name is " +.$name.+"!";
    } else {
       print "No variable name!";
    }
    ?>
    i want simple http get code in C Programming to compile it with (win32) Dev-c++ or VC++

    i searched this forum and google and i didn't find any code that work or compile fine really

  2. #2
    Registered User
    Join Date
    Dec 2011
    Posts
    795
    When you approach a programming problem, your current method of "look for source, fail to find any, then beg for source" is not going to work.

    You need to learn how to actually code something like this, try these links:
    - Beej's Guide to Network Programming
    - Hypertext Transfer Protocol -- HTTP/1.1

    > i want it work on Dev-c++
    No. Get rid of dev-c++. It's outdated and bad.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Win32 Server\Client Application
    By IndioDoido in forum Windows Programming
    Replies: 7
    Last Post: 11-09-2008, 05:00 PM
  2. Linux (not programming) E-mail server question.
    By Kennedy in forum Tech Board
    Replies: 4
    Last Post: 11-09-2006, 02:08 AM
  3. WIN32 Chess server
    By shoeb in forum Windows Programming
    Replies: 3
    Last Post: 08-24-2005, 08:29 AM
  4. Linux Network Programming (server architeture)
    By curlious in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-08-2005, 05:16 PM
  5. How To Convert A Dos-Prompt C++ PRogram Into Win32 Application ?
    By SonicWave in forum Windows Programming
    Replies: 1
    Last Post: 09-15-2001, 11:03 AM