登录
首页 » Java Develop » 1) 利用InetAddress类的方法获取主机的名称和IP地址。 2) 利用URL类获取网络资源。 3) 使用Socket编程:客户机发送数据到服务器...

1) 利用InetAddress类的方法获取主机的名称和IP地址。 2) 利用URL类获取网络资源。 3) 使用Socket编程:客户机发送数据到服务器...

于 2022-06-01 发布 文件大小:53.84 kB
0 257
下载积分: 2 下载次数: 1

代码说明:

1) 利用InetAddress类的方法获取主机的名称和IP地址。 2) 利用URL类获取网络资源。 3) 使用Socket编程:客户机发送数据到服务器,服务器将接收到的数据返回给客户机,运用多线程机制,实现服务器同时处理多个客户机的请求。 4) 使用UDP编程:客户机发送数据到服务器,服务器将接收到的数据返回给客户机, 实现一个模拟电子邮件的发送和接收的UDP程序。 -1) using InetAddress class method to get the host name and IP address. 2) the use of URL-type access network resources. 3) the use of Socket Programming: client sends data to the server, the server will receive the data back to the client, using multi-thread mechanism, the realization of the server to handle multiple client requests. 4) the use of UDP programming: client sends data to the server, the server will receive the data back to the client to achieve a simulated e-mail sending and receiving the UDP process.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • java.swing写的一个记事本程序,初学者可以
    用java.swing写的一个记事本程序,初学者可以-Writing with a java.swing Notepad program, beginners can take a look at
    2022-09-23 20:25:02下载
    积分:1
  • 一个可以显示系统时间的小程序
    一个可以显示系统时间的小程序-display system can be a time of small programs
    2022-01-26 02:40:06下载
    积分:1
  • JSP动态网站开发与应用,提供的是源代码,按章节分类的。
    JSP动态网站开发与应用,提供的是源代码,按章节分类的。-JSP dynamic web site development and application
    2022-07-02 04:05:34下载
    积分:1
  • 连连看游戏 java语言版源代码 代码是使用JB写的,存储方式是UTF...
    连连看游戏 java语言版源代码 代码是使用JB写的,存储方式是UTF-8,因此使用ECLIPSE等IDE打开源程序会出现乱码,这时只需要使用UltraEdit等工具进行UTF-8=>ASCII转换一下即可。代码中有一些地方如读取图片使代码复杂化,这是考虑到将来图片及其它资源可能会采用加密的方式存储,使一般用户在PC上无法进行还原而设计的。-Lianliankan game java language version of the source code is the use of code written by JB, storage is UTF-8, therefore the use of open source IDE, such as ECLIPSE will appear garbled, then only need to use tools such as UltraEdit to UTF-8 =
    2022-01-25 22:06:54下载
    积分:1
  • good project for programmer,,
    good project for programmer-good project for programmer,,
    2022-04-29 19:46:53下载
    积分:1
  • Swirl graphic generator
    Swirl graphic generator
    2022-08-20 23:55:13下载
    积分:1
  • Java chat software chat_src development with customized GUI
    Java聊天软件chat_src用定制的GUI开发-Java chat software chat_src development with customized GUI
    2022-07-20 04:41:58下载
    积分:1
  • Javascript网页计算器,在网页中实现Windows计算器的功能
    Javascript网页计算器,在网页中实现Windows计算器的功能-Javascript web page calculator, a web page to achieve the functions of Windows calculator
    2022-04-09 16:15:29下载
    积分:1
  • V1.0 Java游戏使用或氏族轰炸机
    Clan Bomber Java game using Swings v1.0
    2022-07-26 15:15:27下载
    积分:1
  • 掌握 JDBC 驱动程序的加载方法和JDBC
    掌握 JDBC 驱动程序的加载方法和JDBC-ODBC桥URL的形式; 掌握使用JDBC连接数据库的步骤; 掌握使用JDBC发送SQL语句的基本步骤; 掌握使用JDBC处理SQL查询结果集的方法。 程序功能: 学生信息管理:能够根据实际情况对学生的信息进行新增、查询和修改; 学生信息指的是:学号、姓名、性别、学生类型、所属班级以及java课程成绩等内容。 数据库的选择,可采用Access或SQL2000; 程序可选择通过JDBC- ODBC桥访问数据库,也可选择使用数据库的专有驱动程序,后者的连接质量较前一种要高; -Master load JDBC driver and JDBC-ODBC Bridge URL of the form master database using JDBC to connect the steps to master the use of JDBC to send SQL statements the basic steps handle and use the JDBC result sets SQL query method. Program features: Student Information Management: the ability of students according to the actual situation of the information to add, query and modify referring to the Student Information: Student ID, name, sex, type of students, their classes, as well as achievements, such as the contents of java programs. The choice of database, to be used in Access or SQL2000 procedures to choose through the JDBC-ODBC bridge to access the database, nor can either choose to use a propr
    2023-01-02 16:50:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载