⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 ssd8 exercise1.rar the answer, I hope to help all of you are welcome to download
💻 TXT
字号:
There are three ".java" files in my work. You should follow my instructions to complet the task:

1. In "Client.java", I set the default socket port number to "6789". And if you want to connect to the "www.icarnegie.com", you should change the class---   Client's "private static final int  socketPort" to "80".

2. When run the Server.java, it doesn't stop running until you terminate it. At this time, if you want to run the Client.java, you should type "java Client localhost" to the console. Then when we send the request from the client, we should input the valid format like this: GET /index.html http/1.0. When the client connects to the server, it's current directory is "c:\www\test\". 

3. Run the ThreadedServer.java's method is the same to the previous one.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -