Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - serversocket
Search - serversocket - List
用Tserversocket/Tclientsocket构件实现网络通信,除了在网内有些慢。其他都不错。是学习分析代码的好素材。-with Tserversocket/Tclientsocket network communication components, in addition to net some slow. Others are good. Learn to analyze code is a good material.
Update : 2024-04-29 Size : 4096 Publisher : 田子桐

用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.
Update : 2024-04-29 Size : 10240 Publisher : 雨岳

DL : 0
服务器与客户间通过套接口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
Update : 2024-04-29 Size : 903168 Publisher :

这是一个类似于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.
Update : 2024-04-29 Size : 11264 Publisher : 周腾裕

本文介绍一种用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.
Update : 2024-04-29 Size : 6144 Publisher : 郑描中

用delphi6编写的类似QQ的聊天程序(群聊),仅供学习和参考,如有不足之处,请多多指教。-Delphi6 prepared with a similar QQ chat (chat groups), only learning and reference, if inadequate, please exhibitions.
Update : 2024-04-29 Size : 379904 Publisher : zhongwen

一个轻量级的跨平台的网络类,使用c++编写,方便进行网络开发。-a lightweight cross-platform networking category, the use of c preparation, facilitate network development.
Update : 2024-04-29 Size : 26624 Publisher : 佟德生

语音聊天实例 主框架程序Example2_ChatRoom.cpp/Example2_ChatRoom.h 负责处理各种消息,尤其是音频响应消息 服务器Socket程序ServerSocket.cpp/ServerSocket.h 在服务器内,负责监听网络连接 客户端Socket程序ClientSocket.cpp/ClientSocket.h 负责收发聊天数据,包括文字聊天数据和语音聊天数据-Examples of the main frame of the voice chat program to deal with various Example2_ChatRoom.cpp/Example2_ChatRoom.h news, especially the audio response to the news server Socket procedures ServerSocket.cpp/ServerSocket.h within the server is responsible for monitoring network connections Socket client procedures ClientSocket.cpp/send and receive chat ClientSocket.h responsible for data, including data and text chat and voice chat data
Update : 2024-04-29 Size : 32768 Publisher : 王磊

DL : 0
服务器与客户间通过套接口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
Update : 2024-04-29 Size : 164864 Publisher : 达瓦

系统采用客户/服务器摸式 服务器与客户间通过套接口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
Update : 2024-04-29 Size : 903168 Publisher : 梧桐

用socket实现局域网内的广播信使 考虑要实现的具体的功能,基于TCP和基于UDP两种通信模型,主体部分分为类ServerSocket、类Socket基于TCP,以及MulticastSocket基于UDP两个主要方面,另外是实现图形化,便于操作和使用。 具体功能: 客户端将自己要发送的消息经由服务器端广播至所有的客户端。 服务器端以数据报将自己的IP地址广播至各客户端,以便于客户端与服务器端建立TCP连接;对客户端发送过来的欲广播的消息进行暂时的存储,之后再以数据报广播出去,这是基于UDP实现的,是不可靠的。 客户端可以对服务器端广播的消息进行接收,这是基于UDP的实现,并且可以与服务器端建立可靠的TCP连接,并发送出自己欲广播的消息,使该消息经服务器端广播到所有的客户端。 PS:这是小弟的课程设计所作. -err
Update : 2024-04-29 Size : 5120 Publisher : dongfangyun

首先是要实现ServerSocket的多线程操作;其次,客户端的输入输出流的格式和规范要把握准确;再次,对于广播功能的实现也非常重要,这涉及到了多个线程之间的联系问题-First of all is to realize the multi-threaded operation ServerSocket Secondly, the client input and output stream format and norms necessary to grasp accurately again, for the broadcasting function is also important to realize that this involves a number of threads the link between
Update : 2024-04-29 Size : 2048 Publisher : 阿不

DL : 0
通过ServerSocket类对指定文件进行向指定服务器的上传 -ServerSocket category through the designated file to the designated server upload
Update : 2024-04-29 Size : 1024 Publisher : sport

DL : 0
这个软件是用Delphi 7开发的。 原本它是两个人在纸面上玩的益智游戏,转移到电脑上后我给它添加了人机对奕和网络对战的功能。 在本源码中你可以看到电脑AI实现方法,ClientSocket,ServerSocket的使用,控件的编写,ListBox的OwnerDraw的实现等等技巧。 请先安装里面的GridPanel控件才可正常编译。 永远支持Delphi! -The software is developed with Delphi 7. Originally it was two people playing on paper puzzle game, transfer to your computer to it after I added a human-computer war games and network functions. In this source you can see the computer AI method, ClientSocket, ServerSocket use, control of the preparation, ListBox, etc. The realization of OwnerDraw skills. Please install inside GridPanel normal controls in order to compile. Forever in support of Delphi!
Update : 2024-04-29 Size : 305152 Publisher : Zhang Chao

This article is about a client/server multi-threaded socket class.
Update : 2024-04-29 Size : 117760 Publisher : 如水

利用ServerSocket和ClientSocket实现的一个聊天程序!-ServerSocket and ClientSocket use to achieve a chat program!
Update : 2024-04-29 Size : 20480 Publisher : yin

DL : 0
服务器和客户机端,即建立所谓的客户机/服务器编程模式。在服务器端必须先建立一个ServerSocket对象,然后等待客户机端的访问。而在客户机端,则是建立一个Socket对象直接跟服务器端连接,如果连接建立成功,则服务器端便会产生一个Socket对象,然后我们就可以利用这个Socket对象跟客户机端的Socket对象沟通了。此时在服务器和客户机之间建立了一条可靠连接,客户机和服务器可以在这条连接上可靠的传送数据。客户机发出请求,服务器监听来自客户机的请求,并为客户机提供相应的服务。 -Server and client side, namely the establishment of the so-called client/server programming model. The server side must be the creation of a ServerSocket object, and then wait for the client-side visit. In client-side, it is to create a Socket object to connect directly with the server-side, if the connection is established successfully, then the server will create a Socket object, and then we can take advantage of this Socket object with client-side of the Socket object to communicate. At this time in between server and client to establish a reliable connection, client and server can be connected to the reliable transmission of data. Client request, the server listening to requests from the client and the client to provide the corresponding services.
Update : 2024-04-29 Size : 3072 Publisher : LeeDaHae

DL : 0
TCP通信实例,使用ServerSocket,ClientSocket控件轻松实现-Examples of TCP communications, the use of ServerSocket, ClientSocket controls easily
Update : 2024-04-29 Size : 371712 Publisher : chlyzone

DL : 0
关于网络编程的教程内有实例适合初学者学习-Tutorial on network programming, there are examples of suitable for beginners to learn
Update : 2024-04-29 Size : 9216 Publisher : 李国科

现在主流的连接方式有两种,一种是正向连接,另外一种是反向连接。不过你首先要明白一个远程控制的概念,就是客户端与服务端的概念。 如果是正向的联接的远程软件。那么客户端就是你。如果是反向联接的远程软件。那么你就是服务端。可能我这样的表述各位会有些迷糊,我对于服务端和客户端的理解为,服务端是应用提供端,也就是命令的提供者,而客户端是命令执行的结果展现者-Now connected to the mainstream there are two types of being connected to another is reverse connected. But you must first understand the concept of a remote control, that is, client and server-side concept. If it is positive remote connectivity software. Well, is your client. If it is reverse-connected remote software. Then you is service client. I am such a statement may be some confused you, I am a service client and the client' s understanding that the service is client-side applications, which is a provider of command, while the client is the command to show the results of the implementation of those
Update : 2024-04-29 Size : 430080 Publisher : kissjetg
« 1 2 3 45 6 7 8 9 10 »
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.