Description: 一个用Java编写的聊天程序,包含源代码(有详细注释),说明文件和编译后的服务器端/客户端class文件-a Java prepared by the chat program includes source code (detailed notes), and compilers note after the server/client class document Platform: |
Size: 6144 |
Author:包包 |
Hits:
Description: It is a socket server. It accepts a connection from client and prints on the console a message that client writes Platform: |
Size: 53248 |
Author:培育 |
Hits:
Description: 利用socket进行网上对话聊天,包括服务器端和客户端程序源码及用户界面的建立.-You can chat with socket online,including server and client source code and the implementation of GUI Platform: |
Size: 6144 |
Author:王妍 |
Hits:
Description: 用Java实现Web服务器
本文实现了GET请求的Web服务器程序的方法,通过创建ServerSocket类对象,监听端口8080; 等待、接受客户机连接到端口8080; 创建与socket字相关联的输入流和输出流 然后,读取客户机的请求信息,若请求类型是GET,则从请求信息中获取所访问的HTML文件名,如果HTML文件存在,则打开HTML文件,把HTTP头信息和HTML文件内容通过socket传回给Web浏览器,然后关闭文件。否则发送错误信息给Web浏览器。最后,关闭与相应Web浏览器连接的socket字。-Java Web server is to achieve a GET request to the Web server, through the creation of ServerSocket class object, bugging port 8080; Wait, a client is connected to port 8080; Socket character creation and the associated input and output streams flow then read the client's request information, if the request is the type of GET, request information from being accessed visit HTML document, and if the HTML document exists, then open the HTML file, HTTP headers and HTML files through the socket sent back to the Web browser and then close the file. Otherwise, send the wrong message to the Web browser. Finally, the closing and the corresponding Web browser connected to the socket word. Platform: |
Size: 10240 |
Author:雨岳 |
Hits:
Description: 本文介绍一种用Java的Socket和ServerSocket实现服务器和客户机通讯的的方法。原理是在服务器端建立ServerSocket端口并监听,接收到客户端的连接请求时建立Socket,得到Socket的输入输出流。在客户端新建Socket并获得输入输出流。服务器和客户端的输入输出流建立后使用writeLine()和println()方法彼此发送和接收数据。为提高代码效率,建立两个类clientAgent和serverAgent。
-This article introduces a Java ServerSocket socket server and and client communication methods. The principle is established on the server side ServerSocket ports and eavesdropping, reception to the client connection request to establish socket, the socket to be input and output streams. The new Socket client and access input and output streams. Server and client input and output streams used after the establishment of writeLine (), and println () side France each other to send and receive data. To improve code efficiency, the establishment of two categories clientAgent and serverAgent. Platform: |
Size: 6144 |
Author:郑描中 |
Hits:
Description: 一个用JAVA实现的socket通信,包含服务器端和客户端。-JAVA with a socket communications, including server and the client. Platform: |
Size: 5120 |
Author:sunny |
Hits:
Description: JICQ是用JAVA语言编写的一个基于客户机/服务器(C/S)模式的局域短信实时通信工具系统,系统采用了Microsoft公司的SQL Server 2000作为后台数据库,系统通过JDBC访问数据库。系统分为服务器程序和客户程序两部分,服务器与客户间采用“传输控制协议”(TCP),通过套接字(Socket)连接,客户之间采用“用户数据报协议”(UDP),通过数据报套接字(DatagramSocket)建立连接。系统具有用户注册、用户登录、添加好友、删除好友、发送和接收消息等功能。-JICQ Java is a language based on the client/server (C/S) mode Local SMS real-time communications tool, the system uses Microsoft's SQL Server 2000 database as a background, system access to the database through JDBC. System is divided into server and two clients, the server-client "Transmission Control Protocol" (TCP), socket (Socket) connectivity, customers using the "User Datagram Protocol" (UDP), through Datagram Sockets (DatagramSocket) establish a connection. Users registered with the system, users log in, friends add, delete friends, send and receive news and other functions. Platform: |
Size: 54272 |
Author:乔峰 |
Hits:
Description: 考试系统,java,实现了服务器端从文件读取考试题,并通过socket传给客户端,用户在一定时间内按顺序答题。可以作为一个此类应用的简单参考实现。-Examination system, java, the realization of the server-side to read from the document examination, and through socket to the client, the user in a certain period of time according to the order of questions. Such applications can be used as a simple reference implementation. Platform: |
Size: 20480 |
Author:ryan cai |
Hits:
Description: java聊天程序,通过socket编程实现网络通信。在两台机器(在一台机器上也可)上依次启动服务器、客户端;在客户端输入正确的服务器地址后确认连接是否成功,若成功则可以在客户端和服务器之间实现互相收发数据(任何一端都可以是发送端,相应地也可以是接收端),并且都可以用特定字符串控制退出(这里是用bye);同时客户端与服务器应该能实现地检测大对方的运行状态。并且对特定状态作出正确的反应行为。-java chat program, through the socket programming network communications. In the two machines (in one machine can be) in order to start the server, client the client to enter the correct server address to confirm connection is successful, if success can be in the client and server to send and receive data between each other (Any one can be the sending end, can also be a corresponding receiving end), and are able to withdraw from a particular string control (here is a bye) At the same time, client and server should be able to detect large realize each other Platform: |
Size: 3072 |
Author:yy |
Hits:
Description: TCP/IP编程的基础--socket
包括C/JAVA TCP/UDP 服务端和客户端
六套代码,供新人学习、老人测试联调用
支持win32 Linux(JAVA版本的需要自己新增JDK)-TCP/IP programming basis- socket including C/JAVA TCP/UDP server and client six sets of code for the new study, elderly test joint call to support win32 Linux (JAVA version of the need to add JDK) Platform: |
Size: 9216 |
Author:冯进荣 |
Hits:
Description: java socket server,对初学者很好的参考意义,其中的很多socket操作机理已很好的在java编程中得到应用-java socket server, on the significance of a good reference for beginners, many of which socket to operate the mechanism have been very good in java programming has been applied Platform: |
Size: 26624 |
Author:侯正祥 |
Hits:
Description: socket实现客户端和服务器端的通信 计算一个点到原点的距离-socket to achieve client and server computing a point of communication to the distance between the origin Platform: |
Size: 3072 |
Author:刘增辉 |
Hits:
Description: 基于Java的网络聊天程序,用Java Socket实现网络聊天室,分为服务器和客户端两部分,客户端界面实现聊天功能,服务器是信息中心,类似QQ,有注解.-Java-based network chat program, using Java Socket network chat rooms, divided into server and client in two parts, the client chat interface, the server is the information center, similar to QQ, there are comments. Platform: |
Size: 64512 |
Author:liuhong |
Hits:
Description: Java 基于socket通讯的聊天室~
有Server短和Client,多线程可以同时一对多聊天~-Java-based chat room communications socket ~ There Server is very short and the Client, at the same time one-to-many multi-threaded chat ~ Platform: |
Size: 4096 |
Author:韩小勇 |
Hits:
Description: 用Java Socket完成如下功能:建立客户端和服务器端通讯,服务器端地址为本地端口自拟。两端以TCP形式通讯,假设客户端Class叫Client,服务器端Class叫Server。当运行 java Client Hello时,服务器端能接受客户发来的Hello字符并打印”Receive Hello”然后返回给客户端“How r u doing”字符串 客户端收到后打印”Received How are you doing”. 此时服务器端服务始终运行并未停止并等待其他Socket连接(客户端运行一次可以停止),直到客户运行 java Client Bye时 服务器端收到”Bye”并打印”I don’t wanna die”后 服务器停止运行。-Java Socket complete with the following functions: the establishment of client and server communications, server-side address of the local port from be. TCP in the form of communication at both ends, assuming that the client Class called Client, server-side Class called Server. Java Client Hello When running, the server can accept Hello Guest sent characters and print the " Receive Hello" and then go back to the client " How ru doing" string after the client received print " Received How are you doing" . This When running server-side service is not always stop and wait for the other Socket connection (the client can stop a run), until the customer is running java Client Bye received at the server-side " Bye" and print " I don' t wanna die" after the server to stop run. Platform: |
Size: 32768 |
Author:wangdan |
Hits:
Description: android利用socket发送数据到PC,PC端也用socket接收并显示。-android using socket to send data to PC, PC-side socket is also used to receive and display. Platform: |
Size: 46080 |
Author:297470279 |
Hits: