基于JAVA网络棋牌游戏平台设计与实现.docVIP

基于JAVA网络棋牌游戏平台设计与实现.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于JAVA网络棋牌游戏平台设计与实现

本科毕业设计 (2003届) 题 目 一种网络棋牌游戏平台的设计与实现 学 院 计算机学院 专 业 软件工程 班 级 039162 学 号 学生姓名 指导教师 完成日期 2007年6月 摘 要 本文设计讨论了Socket机制,阐述了使用Java语言编写基于客户/服务器模式的网络通讯程序方法。服务器的一个必需机能,就是能对多个客户的请求同时做出响应。利用Java 的Socket 机制和多线程机制进行多用户的Client/Server网络程序设计。Socket是基于 TCP/IP的网络上运行的两个程序间双向通讯的一种连接机制 J包中包含Socket类,用以快速地开发网络通信程序。在TCP/IP协议体系结构的基础上,分析了网络通信原理,结合Socket 总结出网络通信编程的基本模型,介绍Java的网络编程实现。主要是对Socket类和Server Socket类的调用。 Socket类主要实现客户端套接字(也可以就叫“套接字”)。套接字是两台机器之间的通信端点套接字的实际工作由 SocketImpl 类的实例执行。Server Socket类类实现服务器套接字。服务器套接字等待请求通过网络传入。它基于该请求执行某些操作,然后可能向请求者返回结果服务器套接字的实际工作由 SocketImpl 类的实例执行。 Java语言来实现一种简单的网络棋牌室平台,主要包括一种游戏和聊天功能。 关键词:Java Socket ABSTRACT This article discussed the socket mechanism, and elaborated how to write the java program based on the customer/server pattern. Socket is one of the two-way communication’s end between two procedures that are operated on the network based on TCP/IP. J bag includes Scokets, which is used to develop the network communication procedure fast. One of the necessary functions of severs is to respond to multi-users simultaneously. The paper gives an introduction of the client/server network procedure design under the application of the Socket mechanism and Multi-thread mechanism it also gives an instance about it. On the basis of TCP/IP protocol system structure, this paper analyzes the concept of network process communication, and summarizes the basic model of network communication programming with Socket. The mostly use of Socket class and ServerSocket class. Socket class implements client sockets (also called just sockets). A socket is an endpoint for communication between two machines. The actual work of the socket is performed by an instance of the SocketImpl class. ServerSocket class implements server sockets. A server socket waits for requests to come in over the network. It performs some operation based on that request, and then possibly returns a result to the requester. The actual work of the server socket

文档评论(0)

bokegood + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档