053732

所属分类:Java编程
开发工具:Java
文件大小:2KB
下载次数:65
上传日期:2008-05-08 21:51:43
上 传 者头号玩家999
说明:  ssd8考试一 计算机网络 A Web proxy server listens to requests, then retrieves the requested files from other Web servers and serves them to the clients. These proxy servers are useful in certain situations, such as on firewalls, where they can allow access to certain pages and deny access to others
(computer networks exam ssd8 1 A Web proxy server listens to requests, then retrieves the requested files from other Web servers and serves them to the clients. These proxy servers are useful in certain situations, such as on firewalls, where they can allow access to certain pages and deny access to others)

文件列表:
053732_RJ010505_陶彬彬\ProxyServer.java (3650, 2008-04-10)
053732_RJ010505_陶彬彬 (0, 2008-04-10)

(1)compiling the java file using the command like this: javac ProxyServer.java Notice: the path must be direct path,like:D:\eclipse\eclipse\workspace\.metadata\ProxyServer.java (2)producing the class file using the command like this: java ProxyServer Notice: the path must be direct path like what on top. (3)implement the program <1>to implement the program you need a client program like that in execise one <2>input your request in the client,the message should be three line like this: GET http://www.icarnegie.com/index.html HTTP/1.0 From: nobody@icarnegie.com User-Agent: HTTPTool/1.0 notice:in the program (ProxyServer),the port has been set as 8000.If you want to change the port you can use command like this: GET http://henry.icarnegie.com:1030/index.html HTTP/1.0 From: nobody@icarnegie.com User-Agent: HTTPTool/1.0 notice:the stytle of the first line message should be formed like that given. the last two line can be free,they must be here but the form is free.

近期下载者

相关文件


收藏者