Need this done in Max 3 days !!
all you need in pdf file ..
Build a simple Web Server using Sockets to handle HTTP GET and HTTP POST requests.
For Get requests, the server should:
? Accept the request
? Parse the request header and extract the requested file name
? Read the requested file from server’s file system
? Write the response: you need to write a header line, content-type line (to tell the browser what you are sending) and then you write the requested the requested file.
? If the requested file does not exist the system should send “not found” message to the client.