文件名称:chat
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:120.12kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
程序主要是基于套接字(Socket)进行网络编程的,采用的是TCP协议,TCP协议是面向连接的且是全双工的,即两个主机上的进程(比如进程A、进程B),一旦建立好连接,那么数据就既可以由A流向B,也可以由B流向A。此程序采用的是完全点对点的模式进行连接,即每台主机即是服务器又是客户端,因为它需要进行端口的侦听,所以在连接的时候必须知道各主机的IP地址和端口号。有了对方的IP和端口后两主机就可以进行握手过程,确认连接成功后就可以进行网络对话了。-Program is mainly based on socket (Socket) for network programming, using the TCP protocol, TCP protocol is connection-oriented and is full duplex, that is, the process of the two hosts (such as process A, process B) Once established a good connection, the data flow for both the A B, can also flow from the B A. This procedure uses a fully connected point to point mode, each host is the server that is the client, because it requires the listening port, so when the connection must know the host' s IP address and port number . With the other two host IP and port can be carried out after the handshake process, confirm the connection to the network after a successful dialogue.
相关搜索: asp socket
socket asp
(系统自动生成,下载前可以参看下载内容)
下载文件列表
chat.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.