文件名称:Simple-Multi-User-TCPIP-ClientServer-Example
- 所属分类:
- 弱点检测代码
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-12-28
- 文件大小:
- 327kb
- 下载次数:
- 0次
- 提 供 者:
- n*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
This example shows a simple communication stream between a client and a server over TCP/IP. The server program also demonstrates a simple multi-threaded connection monitoring routine.
The example programs do not attempt to implement a data transmission protocol. All messages are read in 64 byte chunks and the server does not attempt to relate multi-part messages from clients. However, comments in the code indicate the places where changes would be made to accomodate multi-part messages and/or alternate message fr a me size schemes.
A client/server application is a two-part problem: first you must define the raw data transmission methodology for the programs, and second you must then implement a data transmission protocol to control the flow of the raw data and make it meaningful to the applications. This sample only attempts to deal with the first part of the problem transmitting the raw data.-This example shows a simple communication stream between a client and a server over TCP/IP. The server program also demonstrates a simple multi-threaded connection monitoring routine.
The example programs do not attempt to implement a data transmission protocol. All messages are read in 64 byte chunks and the server does not attempt to relate multi-part messages from clients. However, comments in the code indicate the places where changes would be made to accomodate multi-part messages and/or alternate message fr a me size schemes.
A client/server application is a two-part problem: first you must define the raw data transmission methodology for the programs, and second you must then implement a data transmission protocol to control the flow of the raw data and make it meaningful to the applications. This sample only attempts to deal with the first part of the problem transmitting the raw data.
The example programs do not attempt to implement a data transmission protocol. All messages are read in 64 byte chunks and the server does not attempt to relate multi-part messages from clients. However, comments in the code indicate the places where changes would be made to accomodate multi-part messages and/or alternate message fr a me size schemes.
A client/server application is a two-part problem: first you must define the raw data transmission methodology for the programs, and second you must then implement a data transmission protocol to control the flow of the raw data and make it meaningful to the applications. This sample only attempts to deal with the first part of the problem transmitting the raw data.-This example shows a simple communication stream between a client and a server over TCP/IP. The server program also demonstrates a simple multi-threaded connection monitoring routine.
The example programs do not attempt to implement a data transmission protocol. All messages are read in 64 byte chunks and the server does not attempt to relate multi-part messages from clients. However, comments in the code indicate the places where changes would be made to accomodate multi-part messages and/or alternate message fr a me size schemes.
A client/server application is a two-part problem: first you must define the raw data transmission methodology for the programs, and second you must then implement a data transmission protocol to control the flow of the raw data and make it meaningful to the applications. This sample only attempts to deal with the first part of the problem transmitting the raw data.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
VB\TcpClientServerExample.sln
..\ClientExample\App.config
..\.............\ApplicationEvents.vb
..\.............\bin
..\.............\...\Debug
..\.............\...\.....\ClientExample.exe
..\.............\...\.....\ClientExample.pdb
..\.............\...\.....\ClientExample.vshost.exe
..\.............\...\.....\ClientExample.vshost.exe.manifest
..\.............\...\.....\ClientExample.xml
..\.............\...\Release
..\.............\ClientExample.vbproj
..\.............\ClientForm.Designer.vb
..\.............\ClientForm.resx
..\.............\ClientForm.vb
..\.............\My Project
..\.............\..........\Application.Designer.vb
..\.............\..........\Application.myapp
..\.............\..........\AssemblyInfo.vb
..\.............\..........\Resources.Designer.vb
..\.............\..........\Resources.resx
..\.............\..........\Settings.Designer.vb
..\.............\..........\Settings.settings
..\.............\obj
..\.............\...\x86
..\.............\...\...\Debug
..\.............\...\...\.....\ClientExample.ClientForm.resources
..\.............\...\...\.....\ClientExample.exe
..\.............\...\...\.....\ClientExample.pdb
..\.............\...\...\.....\ClientExample.Resources.resources
..\.............\...\...\.....\ClientExample.vbproj.FileListAbsolute.txt
..\.............\...\...\.....\ClientExample.vbproj.GenerateResource.Cache
..\.............\...\...\.....\ClientExample.xml
..\.............\...\...\.....\DesignTimeResolveAssemblyReferences.cache
..\.............\...\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
..\.............\...\...\.....\TempPE
..\.............\...\...\.....\......\My Project.Resources.Designer.vb.dll
..\.............\Resources
..\.............\.........\1385_Disable_16x16_72.png
..\.............\.........\command_link_16x16.png
..\ServerExample\bin
..\.............\...\Debug
..\.............\...\.....\ServerExample.exe
..\.............\...\.....\ServerExample.pdb
..\.............\...\.....\ServerExample.vshost.exe
..\.............\...\.....\ServerExample.vshost.exe.manifest
..\.............\...\.....\ServerExample.xml
..\.............\...\.....\WindowsApplication1.exe
..\.............\...\.....\WindowsApplication1.pdb
..\.............\...\.....\WindowsApplication1.vshost.exe
..\.............\...\.....\WindowsApplication1.vshost.exe.manifest
..\.............\...\.....\WindowsApplication1.xml
..\.............\...\Release
..\.............\My Project
..\.............\..........\Application.Designer.vb
..\.............\..........\Application.myapp
..\.............\..........\AssemblyInfo.vb
..\.............\..........\Resources.Designer.vb
..\.............\..........\Resources.resx
..\.............\..........\Settings.Designer.vb
..\.............\..........\Settings.settings
..\.............\obj
..\.............\...\x86
..\.............\...\...\Debug
..\.............\...\...\.....\DesignTimeResolveAssemblyReferences.cache
..\.............\...\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
..\.............\...\...\.....\ServerExample.exe
..\.............\...\...\.....\ServerExample.pdb
..\.............\...\...\.....\ServerExample.vbproj.FileListAbsolute.txt
..\.............\...\...\.....\ServerExample.vbproj.GenerateResource.Cache
..\.............\...\...\.....\ServerExample.xml
..\.............\...\...\.....\TempPE
..\.............\...\...\.....\......\My Project.Resources.Designer.vb.dll
..\.............\...\...\.....\WindowsApplication1.exe
..\.............\...\...\.....\WindowsApplication1.Form1.resources
..\.............\...\...\.....\WindowsApplication1.pdb
..\.............\...\...\.....\WindowsApplication1.Resources.resources
..\.............\...\...\.....\WindowsApplication1.ServerForm.resources
..\.............\...\...\.....\WindowsApplication1.vbproj.FileListAbsolute.txt
..\.............\...\...\.....\WindowsApplication1.xml
..\.............\...\...\Release
..\.............\Resources
..\.............\.........\1385_Disable_16x16_72.png
..\.............\.........\command_link_16x16.png
..\.............\ServerExample.vbproj
..\.............\Serve