文件名称:tcpip2
-
所属分类:
- 标签属性:
- 上传时间:2016-11-24
-
文件大小:5.85mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
简单的客户/服务器程序实现客户和服务器相互收发数据直到一端输入“end”结束。
具体:
客户:(1)客户创建流套接字,向服务器发起TCP连接。(或是客户创建数据报套接字)
(2)连接创建成功后,通过套接字向服务器持续发送或是接收数据。
(3)输入或是收到命令”end”,结束收发数据,并断开与服务器的连接。
服务器:(1)服务器创建监听套接字,监听客户TCP连接请求。(或是创建数据报套接字)
(2)当收到一个客户TCP连接请求,创建连接套接字同意与其创建连接。
(3)通过套接字与客户持续发送或是接收数据。
(4)输入或是收到”end“命令,结束与该客户的收发数据,断开连接。-A simple client/server program to achieve the client and server to send and receive data with each other until one end of the end end of the input data.
Specific:
Customer: (1) the client creates a stream socket and initiates an TCP connection to the server. (or the client creates a data socket)
(2) after the success of the connection, through the socket to the server to send or receive data.
(3) enter or receive the command end , the end of sending and receiving data, and disconnect the connection with the server.
Server: (1) server to create a listening socket, monitor client TCP connection request. (or create a data socket)
(2) when a client TCP connection request is received, the connection socket is created to agree to the creation of the connection.
(3) continue to send or receive data via a socket to a customer.
(4) enter or receive the end command, end with the client s data, disconnect.
具体:
客户:(1)客户创建流套接字,向服务器发起TCP连接。(或是客户创建数据报套接字)
(2)连接创建成功后,通过套接字向服务器持续发送或是接收数据。
(3)输入或是收到命令”end”,结束收发数据,并断开与服务器的连接。
服务器:(1)服务器创建监听套接字,监听客户TCP连接请求。(或是创建数据报套接字)
(2)当收到一个客户TCP连接请求,创建连接套接字同意与其创建连接。
(3)通过套接字与客户持续发送或是接收数据。
(4)输入或是收到”end“命令,结束与该客户的收发数据,断开连接。-A simple client/server program to achieve the client and server to send and receive data with each other until one end of the end end of the input data.
Specific:
Customer: (1) the client creates a stream socket and initiates an TCP connection to the server. (or the client creates a data socket)
(2) after the success of the connection, through the socket to the server to send or receive data.
(3) enter or receive the command end , the end of sending and receiving data, and disconnect the connection with the server.
Server: (1) server to create a listening socket, monitor client TCP connection request. (or create a data socket)
(2) when a client TCP connection request is received, the connection socket is created to agree to the creation of the connection.
(3) continue to send or receive data via a socket to a customer.
(4) enter or receive the end command, end with the client s data, disconnect.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tcpip2/
tcpip2/TCP/
tcpip2/TCP/Server/
tcpip2/TCP/Server/._Server.cpp
tcpip2/TCP/Server/Debug/
tcpip2/TCP/Server/Debug/Server.exe
tcpip2/TCP/Server/Debug/Server.ilk
tcpip2/TCP/Server/Debug/Server.obj
tcpip2/TCP/Server/Debug/Server.pch
tcpip2/TCP/Server/Debug/Server.pdb
tcpip2/TCP/Server/Debug/StdAfx.obj
tcpip2/TCP/Server/Debug/client.obj
tcpip2/TCP/Server/Debug/vc60.idb
tcpip2/TCP/Server/Debug/vc60.pdb
tcpip2/TCP/Server/ReadMe.txt
tcpip2/TCP/Server/Server.cpp
tcpip2/TCP/Server/Server.dsp
tcpip2/TCP/Server/Server.dsw
tcpip2/TCP/Server/Server.ncb
tcpip2/TCP/Server/Server.opt
tcpip2/TCP/Server/Server.plg
tcpip2/TCP/Server/StdAfx.cpp
tcpip2/TCP/Server/StdAfx.h
tcpip2/TCP/client/
tcpip2/TCP/client/._client.cpp
tcpip2/TCP/client/Debug/
tcpip2/TCP/client/Debug/Server.obj
tcpip2/TCP/client/Debug/client.exe
tcpip2/TCP/client/Debug/client.ilk
tcpip2/TCP/client/Debug/client.obj
tcpip2/TCP/client/Debug/client.pch
tcpip2/TCP/client/Debug/client.pdb
tcpip2/TCP/client/Debug/vc60.idb
tcpip2/TCP/client/Debug/vc60.pdb
tcpip2/TCP/client/ReadMe.txt
tcpip2/TCP/client/StdAfx.cpp
tcpip2/TCP/client/StdAfx.h
tcpip2/TCP/client/client.cpp
tcpip2/TCP/client/client.dsp
tcpip2/TCP/client/client.dsw
tcpip2/TCP/client/client.ncb
tcpip2/TCP/client/client.opt
tcpip2/TCP/client/client.plg
tcpip2/UDP/
tcpip2/UDP/Server/
tcpip2/UDP/Server/._Server.cpp
tcpip2/UDP/Server/Debug/
tcpip2/UDP/Server/Debug/Server.exe
tcpip2/UDP/Server/Debug/Server.ilk
tcpip2/UDP/Server/Debug/Server.obj
tcpip2/UDP/Server/Debug/Server.pch
tcpip2/UDP/Server/Debug/Server.pdb
tcpip2/UDP/Server/Debug/StdAfx.obj
tcpip2/UDP/Server/Debug/client.obj
tcpip2/UDP/Server/Debug/vc60.idb
tcpip2/UDP/Server/Debug/vc60.pdb
tcpip2/UDP/Server/ReadMe.txt
tcpip2/UDP/Server/Server.cpp
tcpip2/UDP/Server/Server.dsp
tcpip2/UDP/Server/Server.dsw
tcpip2/UDP/Server/Server.ncb
tcpip2/UDP/Server/Server.opt
tcpip2/UDP/Server/Server.plg
tcpip2/UDP/Server/StdAfx.cpp
tcpip2/UDP/Server/StdAfx.h
tcpip2/UDP/client/
tcpip2/UDP/client/._client.cpp
tcpip2/UDP/client/Debug/
tcpip2/UDP/client/Debug/Server.obj
tcpip2/UDP/client/Debug/client.exe
tcpip2/UDP/client/Debug/client.ilk
tcpip2/UDP/client/Debug/client.obj
tcpip2/UDP/client/Debug/client.pch
tcpip2/UDP/client/Debug/client.pdb
tcpip2/UDP/client/Debug/vc60.idb
tcpip2/UDP/client/Debug/vc60.pdb
tcpip2/UDP/client/ReadMe.txt
tcpip2/UDP/client/StdAfx.cpp
tcpip2/UDP/client/StdAfx.h
tcpip2/UDP/client/client.cpp
tcpip2/UDP/client/client.dsp
tcpip2/UDP/client/client.dsw
tcpip2/UDP/client/client.ncb
tcpip2/UDP/client/client.opt
tcpip2/UDP/client/client.plg
tcpip2/TCP/
tcpip2/TCP/Server/
tcpip2/TCP/Server/._Server.cpp
tcpip2/TCP/Server/Debug/
tcpip2/TCP/Server/Debug/Server.exe
tcpip2/TCP/Server/Debug/Server.ilk
tcpip2/TCP/Server/Debug/Server.obj
tcpip2/TCP/Server/Debug/Server.pch
tcpip2/TCP/Server/Debug/Server.pdb
tcpip2/TCP/Server/Debug/StdAfx.obj
tcpip2/TCP/Server/Debug/client.obj
tcpip2/TCP/Server/Debug/vc60.idb
tcpip2/TCP/Server/Debug/vc60.pdb
tcpip2/TCP/Server/ReadMe.txt
tcpip2/TCP/Server/Server.cpp
tcpip2/TCP/Server/Server.dsp
tcpip2/TCP/Server/Server.dsw
tcpip2/TCP/Server/Server.ncb
tcpip2/TCP/Server/Server.opt
tcpip2/TCP/Server/Server.plg
tcpip2/TCP/Server/StdAfx.cpp
tcpip2/TCP/Server/StdAfx.h
tcpip2/TCP/client/
tcpip2/TCP/client/._client.cpp
tcpip2/TCP/client/Debug/
tcpip2/TCP/client/Debug/Server.obj
tcpip2/TCP/client/Debug/client.exe
tcpip2/TCP/client/Debug/client.ilk
tcpip2/TCP/client/Debug/client.obj
tcpip2/TCP/client/Debug/client.pch
tcpip2/TCP/client/Debug/client.pdb
tcpip2/TCP/client/Debug/vc60.idb
tcpip2/TCP/client/Debug/vc60.pdb
tcpip2/TCP/client/ReadMe.txt
tcpip2/TCP/client/StdAfx.cpp
tcpip2/TCP/client/StdAfx.h
tcpip2/TCP/client/client.cpp
tcpip2/TCP/client/client.dsp
tcpip2/TCP/client/client.dsw
tcpip2/TCP/client/client.ncb
tcpip2/TCP/client/client.opt
tcpip2/TCP/client/client.plg
tcpip2/UDP/
tcpip2/UDP/Server/
tcpip2/UDP/Server/._Server.cpp
tcpip2/UDP/Server/Debug/
tcpip2/UDP/Server/Debug/Server.exe
tcpip2/UDP/Server/Debug/Server.ilk
tcpip2/UDP/Server/Debug/Server.obj
tcpip2/UDP/Server/Debug/Server.pch
tcpip2/UDP/Server/Debug/Server.pdb
tcpip2/UDP/Server/Debug/StdAfx.obj
tcpip2/UDP/Server/Debug/client.obj
tcpip2/UDP/Server/Debug/vc60.idb
tcpip2/UDP/Server/Debug/vc60.pdb
tcpip2/UDP/Server/ReadMe.txt
tcpip2/UDP/Server/Server.cpp
tcpip2/UDP/Server/Server.dsp
tcpip2/UDP/Server/Server.dsw
tcpip2/UDP/Server/Server.ncb
tcpip2/UDP/Server/Server.opt
tcpip2/UDP/Server/Server.plg
tcpip2/UDP/Server/StdAfx.cpp
tcpip2/UDP/Server/StdAfx.h
tcpip2/UDP/client/
tcpip2/UDP/client/._client.cpp
tcpip2/UDP/client/Debug/
tcpip2/UDP/client/Debug/Server.obj
tcpip2/UDP/client/Debug/client.exe
tcpip2/UDP/client/Debug/client.ilk
tcpip2/UDP/client/Debug/client.obj
tcpip2/UDP/client/Debug/client.pch
tcpip2/UDP/client/Debug/client.pdb
tcpip2/UDP/client/Debug/vc60.idb
tcpip2/UDP/client/Debug/vc60.pdb
tcpip2/UDP/client/ReadMe.txt
tcpip2/UDP/client/StdAfx.cpp
tcpip2/UDP/client/StdAfx.h
tcpip2/UDP/client/client.cpp
tcpip2/UDP/client/client.dsp
tcpip2/UDP/client/client.dsw
tcpip2/UDP/client/client.ncb
tcpip2/UDP/client/client.opt
tcpip2/UDP/client/client.plg
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.