登录
首页 » 套接字网络编程 » 本实例是用java实现的网络五子棋程序。程序由两个部分组成:一部分为服务器端,另一部分为五子棋客户端。其中服务器端以消息方式完成客户端的管理,客户端支持对弈和聊...

本实例是用java实现的网络五子棋程序。程序由两个部分组成:一部分为服务器端,另一部分为五子棋客户端。其中服务器端以消息方式完成客户端的管理,客户端支持对弈和聊...

于 2022-01-25 发布 文件大小:41.43 kB
0 70
下载积分: 2 下载次数: 1

代码说明:

本实例是用java实现的网络五子棋程序。程序由两个部分组成:一部分为服务器端,另一部分为五子棋客户端。其中服务器端以消息方式完成客户端的管理,客户端支持对弈和聊天。-example is the realization of the network java 331 procedures. Procedures by the two parts : part of the server side and the other 331 for the client. Which news server to the client is accomplished management, client support players and chat.

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

发表评论

0 个回复

  • 心跳检测
    判断对方(设备,进程或其它网元)是否正常动行,一般采用定时发送简单的通讯包,如果在指定时间段内未收到对方响应,则判断对方已经当掉。用于检测TCP的异常断开。基本原因是服务器端不能有效的判断客户端是否在线也就是说,服务器无法区分客户端是长时间在空闲,还是已经掉线的情况。所谓的心跳包就是客户端定时发送简单的信息给服务器端告诉它我还在而已。代码就是每隔几分钟发送一个固定信息给服务端,服务端收到后回复一个固定信息。如果服务端几分钟内没有收到客户端信息则视客户端断开。比如有些通信软件长时间不使用,要想知道它的状态是在线还是离线就需要心跳包,定时发包收包。
    2023-01-13 03:05:04下载
    积分:1
  • The smallest UDP client server in C#
    在C#中调试并运行良好的客户机和服务器代码。它有一个单独的说明文档,描述如何编译和运行。它已经在Windows平台上进行了测试;
    2022-02-19 23:11:09下载
    积分:1
  • 功能:给出一个符串表达式(可以是任意复杂的符串表达式),计算符串表达式的值. <br> 特性: <br> 1:用户可以添加其它运算...
    功能:给出一个字符串表达式(可以是任意复杂的字符串表达式),计算字符串表达式的值. 特性: 1:用户可以添加其它运算符号 ,也就是说用户可以制定新的运算符,引擎中不存在的运算符号,当然具体的运算类还是得用户提供. 2: 可以修改运算符的性质,你可以使得3*3=6,只要将*的运算类指向expression.DAdd就可以了,具体如何操作,ReadMe中有说明. 3:可以使操作符运算具有多种形态。您即可以用“+”表示加法运算,也可以用" 加法" 表示加法运算. 强调一下:,本引擎的最大特点就是: 用户可以添加自己的运算符号,而无需修改计算引擎本身. -function : given a string expression (which may be arbitrary complex string expression), and calculating the value of the string expression. Lt; Brgt; Characteristics : lt; Brgt; A : Users can add other computing symbols This means users can develop new Operators the engine does not exist arithmetic symbols, of course, the specific type of operation must also be available. lt; brgt; 2 : Operators can modify the nature, you can make 3* 3 = 6, as long as the computing category* expression.DAdd can point to a specific example Dr operation, ReadMe is described. lt; brgt; 3 : It will make operation Operator with a variety of patterns. That is, you c
    2022-08-23 00:53:00下载
    积分:1
  • 组播发送测试序,服务器端
    组播发送测试网络程序,服务器端-multicast network testing procedures, the server-
    2022-02-04 03:52:25下载
    积分:1
  • 一个补票分析
    一个补票分析程序-an analysis program
    2023-03-08 13:45:03下载
    积分:1
  • 最新的视频开发包哦
    最新的视频开发包哦-latest Video Development Kit oh
    2022-01-25 17:51:56下载
    积分:1
  • 站设计的思考经典书籍
    网站设计的思考经典书籍-Web site design of classic books
    2022-03-16 19:06:35下载
    积分:1
  • completed an example of the server and client simple oral communication process....
    该实例完成一个服务器端和客户端简单的会话通信过程.要求主机上安装TCP/IP协议,并设定IP.服务器端和客户端使用同一台主机的不同端口号,服务器端使用的端口号为2000,客户端使用的端口号为3000. 服务器端程序先运行,首先初始化Winsock,然后创建套接字,在2000端口上进行绑定,接着在2000端口进行侦听,并进入等待状态.客户端后运行,同样首先初始化winsock,然后创建套接字,接着尝试和服务器端的连接.连接一旦建立,就可以在服务器端和客户端之间进行通信.客户端提示输入一个数字,比如输入50,那么客户端会从"data0"到"data49"发送50个字符串,输入0退出.-completed an example of the server and client simple oral communication process. Asked on the mainframe installed TCP/IP protocol and set the IP. Servers and clients using the same host of different ports, the use of the server port to 2000, clients use the port number as 3000. server operating procedures first, the first initialization Winsock, and then create socket, in 2000 ports on bonding, then the 2000 port for the interception, and entered the wait state. client after running the same protocols of the first initialization, and then create socket, and then try to server connections. connecting once established, can the server and client communications between. the client suggested the import
    2022-01-26 06:53:43下载
    积分:1
  • 802.11a标准无线局域的物理层matlab仿真源码
    802.11a标准无线局域网的物理层matlab仿真源码-802.11a wireless local area network standard physical layer simulation matlab source
    2022-07-02 21:25:25下载
    积分:1
  • 关于 中查看对方电脑上的文件的序,永无往南刚落受案顾客建立得空...
    关于 网络中查看对方电脑上的文件的程序,永无往南刚落受案顾客建立得空-The other computers on the network, view the files on the program, never just off the south building was empty by the case of customers
    2022-02-05 07:58:45下载
    积分:1
  • 696524资源总数
  • 103971会员总数
  • 70今日下载