User Profile

Collapse

Profile Sidebar

Collapse
iPaul
iPaul
Last Activity: Jul 6 '09, 05:53 PM
Joined: Jun 26 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • iPaul
    replied to using RFC2616
    in C
    HEAD
    Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content.
    GET
    Requests a representation of the specified resource. Note that GET should not be used for operations that cause side-effects, such as using it for taking actions in web applications....
    See more | Go to post

    Leave a comment:


  • iPaul
    started a topic using RFC2616
    in C

    using RFC2616

    Using RFC2616 what is the difference between a server response to the HEAD and GET client requests?

    thanks
    See more | Go to post

  • iPaul
    started a topic difference between?
    in C

    difference between?

    in c (and/or) c++ what is the difference between variables declared as: char[] and char*?

    thanks
    See more | Go to post

  • iPaul
    started a topic Usage: server port?
    in C

    Usage: server port?

    hi

    when i compile and run something i get this message

    http://tinypic.com/r/cj9f9/5

    what does this mean?...
    See more | Go to post

  • iPaul
    replied to BEGINNER c++ programmer help please
    in C
    "Add an if condition that will write the whole file to the network socket if the command string
    in cmd is equal to GET. The body of the if that sends the file contents will have to be a loop. The loop will read the
    whole contents of the previously opened file using file descriptor fd and write the contents to newsck. Read into, and
    write from, the array fbuf. The array is 512 bytes long so that is why a loop is needed"...
    See more | Go to post

    Leave a comment:


  • iPaul
    replied to BEGINNER c++ programmer help please
    in C
    i tried calling read rather than fread and it makes more errors

    im totally stuck
    See more | Go to post

    Leave a comment:


  • iPaul
    replied to BEGINNER c++ programmer help please
    in C
    i have no idea how to do this

    any help?

    thank you
    See more | Go to post

    Leave a comment:


  • iPaul
    started a topic BEGINNER c++ programmer help please
    in C

    BEGINNER c++ programmer help please

    hi

    this is my code
    Code:
    #include <sys/types.h>
    #include <sys/socket.h>
    #include <netdb.h>
    #include <stdlib.h>
    #include <string.h>
    #include <iostream>
    #include <fcntl.h>
    using namespace std;
    extern int makeserversocket(const char *);
    
    const char *notimp="HTTP/1.0 501 Method Not Implemented\r\n"
    ...
    See more | Go to post
No activity results to display
Show More
Working...