#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2014
    Posts
    1
    Rep Power
    0

    Middleware in c - Pls help


    Hi,

    I have to write a middleware (Proxy??) in c to receive all http requests, do some input verifications and pass it to the web server in some other machine. The response can go directly from web server to client.

    I am new to socket programming. Pls help

    Thanks in advance

    pci
  2. #2
  3. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    USA
    Posts
    7,223
    Rep Power
    2222
    Why did you accept the job if you didn't have the minimal qualifications for it?

    You also need to know the HTTP protocol. You could start with the O'Reilly book, HTTP, The Definitive Guide, which can be downloaded for free as a PDF file. Google on o'reilly http the definitive guide pdf.

    And if this is a homework assignment, you have been notified that we will not do your homework for you. You need to do your own work. When you run into specific problems, then post what you're having problems with.

    Always use CODE TAGS to preserve the indentation of your properly formatted (meaning consistently indented) code listings.


    PS

    Some years back I created a site on sockets programming at http://pgm.dwise1.net/sockets/index.html.

    If this is for school, then you should have been taught something about sockets. If you really don't know anything about it, you have a lot of practicing to do.
    Last edited by dwise1_aol; January 6th, 2014 at 03:52 PM.

IMN logo majestic logo threadwatch logo seochat tools logo