-
err
客户通过Socket(InetAddress,port)建立与服务器的连接。服务器与客户都通过构造BufferedReader,PrintWriter来建立输入输出流,然后双方通过该输入输出流来相互传递信息,一旦收到客户方的连接请求,服务器accept()方法返回一个新建的Socket对象。客户端然后向服务器发送消息,比如注册,登录,查找好友等,服务器收到来自客户的请求后,针对不同的消息处理请求, 虽然UDP不可靠但是对于icq可靠性并不太重要,而且UDP快速,所以客户间发送信息通过UDP。用户登录时通过类DatagramPacket和DatagramSocket创建UDP包括其本地接受端口以及发送端口,默认端口为5000和5001,通过取得的好友的IP地址来向好友发送消息(send(DatagramPacket)和接受消息(receive(DatagramPacket))。当用户通过UDP收到消息后,可以通过DatagramPacket的方法InetAddress getAddress()得到对方的ip地址,通过对好友列表比较以判断是谁并提示用户收到某某的消息,然后用户选择该用户查看消息,如果好友列表没有该人就显示收到陌生人的消息。用户可以按陌生人按钮查看消息。
-err
- 2022-01-23 10:11:51下载
- 积分:1
-
在网上下的eclipse abator插件自感觉不好用,
自已写了一个
基于oracle的,支持生成序列,pojo sqlmap.xml,dao dao...
在网上下的eclipse abator插件自感觉不好用,
自已写了一个
基于oracle的,支持生成序列,pojo sqlmap.xml,dao daointerface,生成字段的注释
四个基本方法,增删改查,
写的时候基于oracle11的,低版本的可能在到得字段注释
的地方会不兼容,自已改改或不加注释就可以了 -Under the Internet plug-ins from the eclipse abator feel bad use, self-written an oracle-based, pro-generated sequences, pojo sqlmap.xml, dao daointerface, generating field notes four basic methods, additions or deletions to change the investigation, written When oracle11 based, low-version may be a place to get the field notes would be incompatible change themselves to change with or without annotations can be a
- 2022-10-03 15:55:04下载
- 积分:1
-
有关JavaEE的3个架构开发指南电子书.
有关JavaEE的3个架构开发指南电子书.-Related to the three structure JavaEE development guide e-book.
- 2022-03-19 09:18:40下载
- 积分:1
-
这是一款小型的java编译器 可用于参考学习
这是一款小型的java编译器 可用于参考学习-This is a small java compiler can be used to refer to learning
- 2022-01-20 23:07:08下载
- 积分:1
-
用java写的时钟小程序,图形显示,实现简单,外观很漂亮,免费下载啊,不需要账号...
用java写的时钟小程序,图形显示,实现简单,外观很漂亮,免费下载啊,不需要账号-Java clock used to write small programs, graphical display, the realization of simple, look very beautiful, free download ah, no account
- 2022-05-12 14:31:07下载
- 积分:1
-
Canny Java源码
Canny java 源代码 对图像处理、 边缘检测
- 2022-03-22 08:25:46下载
- 积分:1
-
Java开发图文混排的编辑器文档
Java开发图文混排的编辑器文档-Java developers photo-text file editor
- 2022-11-02 01:50:04下载
- 积分:1
-
java入门及程序 介绍interface 实现 使用
java入门及程序 介绍interface 实现 使用-entry procedures and introduced the use interface to achieve
- 2022-03-13 04:23:54下载
- 积分:1
-
应用程序和示例代码是针对一个环境,其中包括JBoss的4.0.x版( www.jboss.org ) , Apache的德比10.0.2.1 ( db.apac...
应用程序和示例代码是针对一个环境,其中包括JBoss的4.0.x版( www.jboss.org ) , Apache的德比10.0.2.1 ( db.apache.org /德比郡)和SMTP服务器。因此您将需要这些应用程序安装和配置。见附录A的配置Apache的德比为4.0.x和附录B和第10章配置的JBoss 。-The application and sample code were targeted for an environment that included JBoss 4.0.x (www.jboss.org), Apache Derby 10.0.2.1 (db.apache.org/derby) and an SMTP server. Therefore you will need these applications installed and configured. See appendix A for configuring Apache Derby 4.0.x and appendix B and chapter 10 for configuring JBoss.
Most of these chapters include an enterprise application archieve (ear) for easy installation.
To use these applications in a development environment, you will also need WTP, Eclipse 3.1, WTP dependencies, XDoclet and the JBoss plugin. See chapter 6 for installation details.
- 2023-03-01 08:40:11下载
- 积分:1
-
有关于jsp的编程方面介绍的书籍,很好,找了很久
有关于jsp的编程方面介绍的书籍,很好,找了很久-Jsp on the introduction of programming books, well, look for a long time
- 2022-02-15 18:19:24下载
- 积分:1