搜索资源列表
web
- 该程序用于实现实现了GET请求的Web服务器程序的方法,通过创建ServerSocket类对象,监听端口8080; 等待、接受客户机连接到端口8080; 创建与socket字相关联的输入流和输出流 然后,读取客户机的请求信息,若请求类型是GET,则从请求信息中获取所访问的HTML文件名,如果HTML文件存在,则打开HTML文件,把HTTP头信息和HTML文件内容通过socket传回给Web浏览器,然后关闭文件。否则发送错误信息给Web浏览器。最后,关闭与相应Web浏览器连接的socket字。 -
TimeServer
- Java实现时间日期服务器,学习一下java定义端口号,设置客户端套接字,实例化套按字,得到输入流,读入数据到缓冲区,输出错误信息等。-Java date and time server, learn about the java-defined port number, set the client socket, instance of the word, the input stream to read data to the buffer output error message.
TimeServer
- Java实现时间日期服务器,学习一下java定义端口号,设置客户端套接字,实例化套按字,得到输入流,读入数据到缓冲区,输出错误信息等。-Java date and time server, learn about the java-defined port number, set the client socket, instance of the word, the input stream to read data to the buffer output error message.
TypingGame
- 使用java开发的应用程序,打字小游戏,有 闯关,练习,对战三种模式。有背景乐,字符出现根据导入的单词数据库(Using java development application, typing game, there are three ways to break through, practice, and fight. There are background music, characters appear according to the imported word database.