Welcome![Sign In][Sign Up]
Location:
Search - socket programming in java for client server

Search list

[JSP/Javachatroom

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:

[JSP/Javajavasocket

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:

[JSP/JavaPrint_Servers

Description: This a print server written in java socket programming, Here the client sends a request to the server for printing and the client accepts the request and prints.complete working codes are included-This is a print server written in java socket programming, Here the client sends a request to the server for printing and the client accepts the request and prints.complete working codes are included
Platform: | Size: 7168 | Author: abhijith | Hits:

[Internet-NetworkSimpleSocket

Description: SimpleSocket是一个C + +库使得Socket客户机/服务器编程更容易。该文库包含类Socket和ServerSocket。这些类可以使用同样的方式作为同一名称的Java类。它使使用C++流将数据发送到驶过。 SimpleSocket进行了测试,在两Windows98和Windows NT4的一个GUI Origin200和GNU Cygwin的环境(IRIX的6.5)。图书馆工作预计将在Linux或其它Unix系统,有少量的修改。 SimpleSocket利用了SimpleException和SimpleMessage库。这些库还可以用于其他目的。-SimpleSocket is a C++ library making socket based client/server programming easier. The library consists of the classes Socket and ServerSocket. These classes can be used in a similar way as the Java classes of the same name. It makes use of C++ stream to send data to and fro. SimpleSocket has been tested in the GNU cygwin environment on both Windows98 and Windows NT4 and on a Silicon Graphics Origin200 (IRIX 6.5). The library is expected to work on Linux or other Unix variants, with few changes. SimpleSocket makes use of the SimpleException and SimpleMessage libraries. These libraries can also be used for other purposes.
Platform: | Size: 7168 | Author: 方启 | Hits:

[JSP/Javamysocket

Description: java中的socket编程实例源代码,实现简单的客户端socket与服务端socket的连接功能-java socket programming examples in the source code for simple client socket and server socket connectivity
Platform: | Size: 5120 | Author: 随意 | Hits:

[JSP/Javasocket

Description: Java Socket编程的几个示范性例子,包括远程服务器端和客户端的源码,详细展示了Socket编程的流程,供初学者参考。-Java Socket programming model of a few examples, including the remote server and client source code, Socket programming shows in detail the process, reference for beginners.
Platform: | Size: 9216 | Author: Liao Jinxing | Hits:

[OS programmarcelog-Ding-1.6.1

Description: marcelog Ding是一个PHP框架,实现了依赖注入、AOP面向方面编程、轻量级、简单和快速的MVC模式,syslog、TCP客户端和服务器端非阻塞的套接字、定时器、自定义错误、信号以及异常处理、PAGI 集成、PAMI集成等等,类似Java的Spring框架。 Ding Framewrok 1.6.1,它的释放移动信号定义容器的构造,以避免Web服务器模块的SAPI(pcntl根据Web服务器的模块禁用)下运行时的有关未定义的常量的通知。-marcelog Ding is a PHP framework for dependency injection, AOP, aspect-oriented programming, a lightweight, simple and fast MVC pattern, syslog, TCP client and server-side non-blocking socket, timer, custom error , signal and exception handling, the PAGI integration, the PAMI integration, similar to the Java Spring Framework. The ding Framewrok 1.6.1, release of mobile signal defines the structure of the container in order to avoid the Web server module SAPI (pcntl according to the Web server module is disabled), the run-time undefined constant notify.
Platform: | Size: 456704 | Author: robine | Hits:

[JSP/Javasocket_communication

Description: TCP套接字编程实现: 开发一个多线程服务器,它能并行服务于多个请求。 提示: 用Java或c/c++语言开发; 通过调用操作系统API接口创建线程; 假定3个客户端,客户端i发送“Hi,God”,服务器回答“What can I do for you, my son i”,客户端收到后显示服务器回答。 分别用TCP和UDP两个协议来测试,端口号自定义 -TCP socket programming: Develop a multi-threaded server, it can serve multiple requests in parallel. Tip: Use Java or c/c++ language development by calling the operating system API interface to create threads assume 3 client, the client i send " Hi, God" , the server replied " What can I do for you, my son i" , displayed after the client receives the server reply. TCP and UDP were used to test the two protocols, port numbers Custom
Platform: | Size: 3072 | Author: yelangya | Hits:

[JSP/JavaQQ

Description: 本程序是基于TCP/IP协议的网络通信程序,运用了Java的流、文件、多线程等编程技术。套接字对象在网络编程中扮演着重要的角色,该程序就是一个基于套接字技术编写的简单聊天工具。聊天功能所使用的输入输出流分别是BufferedReader和PrintWriter,服务器为客户端启动一个线程,在该线程中通过套接字和客户交流信息。当向服务器发送一条聊天信息:“Hello”时,服务器要向这个线程中的输出流写入信息:“Hello”,那么客户端套接字的输入流就读取到了这条消息。文件传输分为文件发送和文件接收两部分,当服务器端要向客户端发送文件时,先调用字节输入流FileInputStream从本机读取想要发送的文件,再将信息通过字节输出流BufferedOutputStream发送到客户端,这样客户端的字节输入流BufferedInputStream就读取到了相应信息,客户端再通过字节输出流FileOutputStream将信息以文件形式存入本机。-This program is based on network communication program TCP/IP protocol, the use of Java streams, files, and other multi-threaded programming techniques. Socket object plays an important role in network programming, the program is written in a simple socket-based chat tool technology. Input and output streams chat are used BufferedReader and PrintWriter, the server for the client to start a thread in the thread through the socket and customers to exchange information. When sending a chat message to the server: " Hello" , the server would like this thread output stream to write information: " Hello" , then the client socket input stream is read to this message. File transfer files sent and received document is divided into two parts, when the client would like the server to send the file, byte input stream FileInputStream first call to read the file you want to send from the machine, then the information output by the byte stream BufferedOutputStream sent to the client, s
Platform: | Size: 7168 | Author: 佟文浩 | Hits:

CodeBus www.codebus.net