Welcome![Sign In][Sign Up]
Location:
Search - 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:

[Other resource副2 gobang

Description: 用ServerSocket和ClientSocket实现的网络五子棋,还有一个很棒的人工智能,使本人花费三天心血编写的,界面也很棒。-ServerSocket and ClientSocket use the network to achieve 331, a terrific artificial intelligence, so I spent three days preparing the effort, and the interface is great.
Platform: | Size: 242420 | Author: kane | 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: 902994 | Author: 周海波 | Hits:

[WinSock-NDIS一对多

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: 11561 | 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:

[JSPServerSocket

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

[Internet-NetworkServerSocket

Description: 一个基于TCP连接的VC++工程程序,服务器端-Based on the TCP connection VC++ Engineering procedures, server-side
Platform: | Size: 3093504 | Author: lupeng | Hits:

[Windows DevelopServerSocket_demo

Description: serversocket client和serverlist的socket通信
Platform: | Size: 3855360 | Author: 王凯 | Hits:

[Windows DevelopServerSocket

Description: 带心跳的套接字SocketServer,没4秒钟侦听客户端的连接心跳信息-Auto Agent SocketServer
Platform: | Size: 17408 | Author: mazhongming | Hits:

[Delphi VCLDELPHI

Description: ClientSocket with ServerSocket
Platform: | Size: 167936 | Author: 李小龙 | Hits:

[Other Riddle gamesdfjym

Description: 原本它是两个人在纸面上玩的益智游戏,转移到电脑上后我给它添加了人机对奕和网络对战的功能。 在本源码中你可以看到电脑AI实现方法,ClientSocket,ServerSocket的使用,控件的编写,ListBox的OwnerDraw的实现等等技巧。 请先安装里面的GridPanel控件才可正常编译。 -Originally it was two people in the puzzle game to play on paper, transfer to your computer to it after I added a man-machine Duiyi and the online play features. In this source code you can see the computer AI implementations, ClientSocket, ServerSocket use, control, preparation, ListBox, and so the realization of OwnerDraw skills. Please install inside the control can be a normal compile GridPanel.
Platform: | Size: 480256 | Author: wuna1978 | Hits:

[Windows DevelopServerSocket

Description: ServerSocket的练习,很简单,适合初学者。希望对您有帮助-ServerSocket practice, very simple, suitable for beginners. Hope helpful
Platform: | Size: 8430592 | Author: 卓雄 | Hits:

[Delphi VCLserversocket

Description: server sockets example with delphi source code.
Platform: | Size: 2048 | Author: azert | Hits:

[JSP/Java69491750Server

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

[TCP/IP stackclientSocket

Description: c++builder 利用clientsocket 与 serversocket发送/接收数据流-c++ builder using clientsocket and serversocket send/receive data stream
Platform: | Size: 355328 | Author: wanhui | Hits:

[Internet-NetworkServerSocket

Description: 关于ServerSocket的一些基础知识Some basic knowledge about the ServerSocket-Some basic knowledge about the ServerSocket
Platform: | Size: 260096 | Author: tianzi | Hits:

[Internet-Networksocket

Description: serversocket 连接示意,可以自动设置端口并连接,连接后,会将连接文字返回-serversocket connections indicate
Platform: | Size: 219136 | Author: 葛星 | Hits:

[Software EngineeringServerSocket

Description: java网络编程中利用Socket通信,ServerSocket的使用方法,新建,与客户端建立连接,关闭连接等-java Socket Communications Network Programming ServerSocket use the new, with the client to establish a connection, close the connection
Platform: | Size: 46080 | Author: humengting | Hits:

[JSP/JavaServerSocket

Description: Constructs a new {@code ServerSocket} instance which is not bound to any port. The default number of pending connections may be backlogged.
Platform: | Size: 4096 | Author: zenringging | Hits:

[Windows DevelopServerSocket_demo

Description: ServerSocket传输实例,学习的好例子(A good example of ServerSocket transmission, a good example of learning)
Platform: | Size: 48128 | Author: wenaaa | Hits:
« 1 23 4 5 6 7 8 9 10 »

CodeBus www.codebus.net