Welcome![Sign In][Sign Up]
Location:
Search - java serverSocket

Search list

[Web Server用Java实现Web服务器

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: 10425 | Author: 雨岳 | Hits:

[Communicationjava实现服务器和客户机通讯的的方法

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: 6027 | Author: 郑描中 | Hits:

[JSP/JavaServerSocket

Description: java 网络编程的东西,一个最简单的客户端和服务器的例子只给初学者看的.
Platform: | Size: 12645 | Author: 王鹏 | Hits:

[Other resourceServerSocket

Description: Java的ServerSocket创建Socket程序的详解的一篇文章,自己感觉非常不错,共享给java的socket编程的朋友们!
Platform: | Size: 260107 | Author: 中华 | Hits:

[ICQ-IM-Chat基于JAVA的ICQ系统的设计于实现

Description: 服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与后台数据库连接,并通过创建一个ServerSocket对象来监听来自客户的连接请求,默认端口为8080。-server and client presentation by Socket Interface (TCP) connections. Java use in presentation interface is quite simple, Java API sets to address the communications interface provides a type java.net.Socket. , Making the preparation of network applications relatively easily. Multi-threaded servers to meet the multi-user request, through JDBC and background database connections, and through the creation of a ServerSocket object from the client to monitor the connection request, the default port of 8080.
Platform: | Size: 1710416 | Author: 陈玉平 | Hits:

[ICQ-IM-Chat基于JAVA的ICQ系统的设计于实现

Description: 服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与后台数据库连接,并通过创建一个ServerSocket对象来监听来自客户的连接请求,默认端口为8080。-server and client presentation by Socket Interface (TCP) connections. Java use in presentation interface is quite simple, Java API sets to address the communications interface provides a type java.net.Socket. , Making the preparation of network applications relatively easily. Multi-threaded servers to meet the multi-user request, through JDBC and background database connections, and through the creation of a ServerSocket object from the client to monitor the connection request, the default port of 8080.
Platform: | Size: 1710080 | Author: 陈玉平 | Hits:

[Web Server用Java实现Web服务器

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:

[Otherjava8543535462

Description: 服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与后台数据库连接,并通过创建一个ServerSocket对象来监听来自客户的连接请求,默认端口为8080,然后无限循环调用accept()方法接受客户程序的连接-server and client presentation by Socket Interface (TCP) connections. Java use in presentation interface is quite simple, Java API sets to address the communications interface provides a type java.net.Socket. , Making the preparation of network applications relatively easily. Multi-threaded servers to meet the multi-user request, through JDBC and background database connections, and through the creation of a ServerSocket object from the client to monitor the connection request, the default port of 8080, then infinite loops call accept () method to accept client connections
Platform: | Size: 903168 | Author: | Hits:

[Internet-Network一对多

Description: 这是一个类似于QQ的代码!!了解Socket类和ServerSocket类中的重要方法。学会用Socket 类和ServerSocket类编写应用于网络之间的双向通信的程序.体会C/S模式。 -This is a code similar to the QQ! ! Understanding ServerSocket socket type and category of important ways. Learn how to use and ServerSocket socket type used in the preparation of such network of two-way communication between the procedures. Experience of C/S mode.
Platform: | Size: 11264 | Author: 周腾裕 | Hits:

[Communicationjava实现服务器和客户机通讯的的方法

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:

[JSP/JavaServerSocket

Description: java 网络编程的东西,一个最简单的客户端和服务器的例子只给初学者看的.-java network programming things, one of the most simple client and server examples only to watch the beginners.
Platform: | Size: 12288 | Author: 王鹏 | Hits:

[JSP/Javachengxu

Description: 服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与后台数据库连接,并通过创建一个ServerSocket对象来监听来自客户的连接请求,默认端口为8080,然后无限循环调用accept()方法接受客户程序的连接-Between server and client through the socket Socket (TCP) connection. In java using a very simple set of interfaces, Java API to handle socket communications category provides a java.net.Socket., Makes the preparation of web applications is relatively easy. Server used to meet the needs of multi-threaded multi-user request, through the JDBC database connection with the background and, through the creation of a ServerSocket object to monitor connection requests from clients, the default port is 8080, and then infinite loop calling accept () method to accept client connection
Platform: | Size: 164864 | Author: 达瓦 | Hits:

[Web Serverqddown_java8543535625

Description: 系统采用客户/服务器摸式 服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与后台数据库连接,并通过创建一个ServerSocket对象来监听来自客户的连接请求,默认端口为8080,然后无限循环调用accept()方法接受客户程序的连接-System uses a client/server mode between server and client through the socket Socket (TCP) connection. In java using a very simple set of interfaces, Java API to handle socket communications category provides a java.net.Socket., Makes the preparation of web applications is relatively easy. Server used to meet the needs of multi-threaded multi-user request, through the JDBC database connection with the background and, through the creation of a ServerSocket object to monitor connection requests from clients, the default port is 8080, and then infinite loop calling accept () method to accept client connection
Platform: | Size: 903168 | Author: 梧桐 | Hits:

[JSPServerSocket

Description: Java的ServerSocket创建Socket程序的详解的一篇文章,自己感觉非常不错,共享给java的socket编程的朋友们!-Java, ServerSocket to create Socket procedures explain an article that he felt very good, sharing the socket to the java programming friends!
Platform: | Size: 260096 | Author: 中华 | Hits:

[JSPServerSocket

Description: java环境下的socket多线程编程指导-java environment socket multi-threaded programming guide
Platform: | Size: 260096 | Author: gh | Hits:

[JSPServerSocket(java)

Description: java ServerSocket编程指南,用java开发服务器-programming java ServerSocket guide the development of the server with java
Platform: | Size: 260096 | Author: fionn | Hits:

[JSP/Java69491750Server

Description: 是用java socket 和 serversocket通信 demo-java socket demo
Platform: | Size: 5120 | Author: jes | Hits:

[JSP/Javajava

Description: Socket的概念、功能、类等介绍。还包括实例讲解。Socket异常,ServerSocket的基本流程。-Socket concepts, functions, etc. introduction. Also includes examples to explain. Socket exception, ServerSocket the basic process.
Platform: | Size: 175104 | Author: 郭颖 | Hits:

[JSPJava-network-programming

Description: Java网络编程精解(电子书)介绍 serversocket各种方法-Java Network Programming with Explanations (eBook) introduce serversocket various methods
Platform: | Size: 305152 | Author: jeanne | Hits:

[JSP/Javajava-chatroom

Description: 聊天室基于socket,serversocket,实现保存,查看聊天记录的功能-Chat rooms
Platform: | Size: 8192 | Author: 夏丹丹 | Hits:
« 12 3 »

CodeBus www.codebus.net