文件名称:Angle
-
所属分类:
- 标签属性:
- 上传时间:2012-09-04
-
文件大小:3.62mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
该实例完成一个服务器端和客户端简单的会话通信过程.要求主机上安装TCP/IP协议,并设定IP.服务器端和客户端使用同一台主机的不同端口号,服务器端使用的端口号为2000,客户端使用的端口号为3000. 服务器端程序先运行,首先初始化Winsock,然后创建套接字,在2000端口上进行绑定,接着在2000端口进行侦听,并进入等待状态.客户端后运行,同样首先初始化winsock,然后创建套接字,接着尝试和服务器端的连接.连接一旦建立,就可以在服务器端和客户端之间进行通信.客户端提示输入一个数字,比如输入50,那么客户端会从"data0"到"data49"发送50个字符串,输入0退出.--completed an example of the server and client simple oral communication process. Asked on the mainframe installed TCP/IP protocol and set the IP. Servers and clients using the same host of different ports, the use of the server port to 2000, clients use the port number as 3000. server operating procedures first, the first initialization Winsock, and then create socket, in 2000 ports on bonding, then the 2000 port for the interception, and entered the wait state. client after running the same protocols of the first initialization, and then create socket, and then try to server connections. connecting once established, can the server and client communications between. the client suggested the importation of a number, such as the importation of 50, then the client will "data0" to
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Angle/Angle.aps
Angle/Angle.clw
Angle/Angle.cpp
Angle/Angle.dsp
Angle/Angle.dsw
Angle/Angle.h
Angle/Angle.ncb
Angle/Angle.opt
Angle/Angle.plg
Angle/Angle.rc
Angle/AngleDlg.cpp
Angle/AngleDlg.h
Angle/Bx.cpp
Angle/Bx.h
Angle/Data.h
Angle/Debug/Angle.bsc
Angle/Debug/Angle.exe
Angle/Debug/Angle.ilk
Angle/Debug/Angle.obj
Angle/Debug/Angle.pch
Angle/Debug/Angle.pdb
Angle/Debug/Angle.res
Angle/Debug/Angle.sbr
Angle/Debug/AngleDlg.obj
Angle/Debug/AngleDlg.sbr
Angle/Debug/Bx.obj
Angle/Debug/Bx.sbr
Angle/Debug/Encoder.obj
Angle/Debug/Encoder.sbr
Angle/Debug/Fun.obj
Angle/Debug/Fun.sbr
Angle/Debug/Jx.obj
Angle/Debug/Jx.sbr
Angle/Debug/StdAfx.obj
Angle/Debug/StdAfx.sbr
Angle/Debug/vc60.idb
Angle/Debug/vc60.pdb
Angle/Encoder.cpp
Angle/Encoder.h
Angle/Fun.cpp
Angle/Fun.h
Angle/Jx.cpp
Angle/Jx.h
Angle/ReadMe.txt
Angle/res/Angle.ico
Angle/res/Angle.rc2
Angle/resource.h
Angle/StdAfx.cpp
Angle/StdAfx.h
Angle/Debug
Angle/res
Angle
Angle/Angle.clw
Angle/Angle.cpp
Angle/Angle.dsp
Angle/Angle.dsw
Angle/Angle.h
Angle/Angle.ncb
Angle/Angle.opt
Angle/Angle.plg
Angle/Angle.rc
Angle/AngleDlg.cpp
Angle/AngleDlg.h
Angle/Bx.cpp
Angle/Bx.h
Angle/Data.h
Angle/Debug/Angle.bsc
Angle/Debug/Angle.exe
Angle/Debug/Angle.ilk
Angle/Debug/Angle.obj
Angle/Debug/Angle.pch
Angle/Debug/Angle.pdb
Angle/Debug/Angle.res
Angle/Debug/Angle.sbr
Angle/Debug/AngleDlg.obj
Angle/Debug/AngleDlg.sbr
Angle/Debug/Bx.obj
Angle/Debug/Bx.sbr
Angle/Debug/Encoder.obj
Angle/Debug/Encoder.sbr
Angle/Debug/Fun.obj
Angle/Debug/Fun.sbr
Angle/Debug/Jx.obj
Angle/Debug/Jx.sbr
Angle/Debug/StdAfx.obj
Angle/Debug/StdAfx.sbr
Angle/Debug/vc60.idb
Angle/Debug/vc60.pdb
Angle/Encoder.cpp
Angle/Encoder.h
Angle/Fun.cpp
Angle/Fun.h
Angle/Jx.cpp
Angle/Jx.h
Angle/ReadMe.txt
Angle/res/Angle.ico
Angle/res/Angle.rc2
Angle/resource.h
Angle/StdAfx.cpp
Angle/StdAfx.h
Angle/Debug
Angle/res
Angle
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.