文件名称:SocketCommunication
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:87.85kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Socket实现客户端与服务端通信源码
程序说明:
开发工具:Visual Studio 2005
本程序演示了Socket通信的基本原理,非常适合初学者。程序分为两部分:服务器端与客户端,实际上客户端也可以充当服务器端,本程序两端的区别在于服务器端要发送数据必须要有客户端的连接作为基础,而客户端没有此限制。希望本示例能够给大家学习SOCKET带来帮助。
注意事项:
1.运行程序之前请先设定好服务器端的IP地址,在客户端程序中的设置-》服务器IP设置,可更改为具体服务器的IP地址,否则程序将不能正常运行
2.运行服务器端程序,运行后服务器端会自动以本地的IP地址与预设的端口号开启监听。本程序可以在局域网中实现简单的通信,但是只能向服务器发送数据,然后服务器向指定的客户端发送数据。大家可以在此基础上对程序进行更改,让局域网上的每个用户都可以聊天。
-Socket to achieve client and server communication source
Program Descr iption:
Development Tools: Visual Studio 2005
This program demonstrates the basic principles of Socket Communications, is suitable for beginners. Program is divided into two parts: the server side and client side, in fact, clients can also act as a server-side, the difference between both ends of this procedure is to send the data server must have a connection as a basis for the client, but client does not have this limitation. Hope this example will be helpful for everyone to learn SOCKET.
Note:
1. Run the program before you set up the IP address of the server, the client program settings- the "server IP settings, change the IP address for a specific server, otherwise the program will not run
2. Run the server-side program will run automatically after the server s IP address and the default local port number of open listening. This procedure can be implemented in a simple local area network communications, but
程序说明:
开发工具:Visual Studio 2005
本程序演示了Socket通信的基本原理,非常适合初学者。程序分为两部分:服务器端与客户端,实际上客户端也可以充当服务器端,本程序两端的区别在于服务器端要发送数据必须要有客户端的连接作为基础,而客户端没有此限制。希望本示例能够给大家学习SOCKET带来帮助。
注意事项:
1.运行程序之前请先设定好服务器端的IP地址,在客户端程序中的设置-》服务器IP设置,可更改为具体服务器的IP地址,否则程序将不能正常运行
2.运行服务器端程序,运行后服务器端会自动以本地的IP地址与预设的端口号开启监听。本程序可以在局域网中实现简单的通信,但是只能向服务器发送数据,然后服务器向指定的客户端发送数据。大家可以在此基础上对程序进行更改,让局域网上的每个用户都可以聊天。
-Socket to achieve client and server communication source
Program Descr iption:
Development Tools: Visual Studio 2005
This program demonstrates the basic principles of Socket Communications, is suitable for beginners. Program is divided into two parts: the server side and client side, in fact, clients can also act as a server-side, the difference between both ends of this procedure is to send the data server must have a connection as a basis for the client, but client does not have this limitation. Hope this example will be helpful for everyone to learn SOCKET.
Note:
1. Run the program before you set up the IP address of the server, the client program settings- the "server IP settings, change the IP address for a specific server, otherwise the program will not run
2. Run the server-side program will run automatically after the server s IP address and the default local port number of open listening. This procedure can be implemented in a simple local area network communications, but
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SocketCommunication/ClientSocket/ClientSocket/app.config
SocketCommunication/ClientSocket/ClientSocket/bin/Debug/ClientSocketForms.exe
SocketCommunication/ClientSocket/ClientSocket/bin/Debug/ClientSocketForms.exe.config
SocketCommunication/ClientSocket/ClientSocket/bin/Debug/ClientSocketForms.pdb
SocketCommunication/ClientSocket/ClientSocket/bin/Debug/ClientSocketForms.vshost.exe
SocketCommunication/ClientSocket/ClientSocket/bin/Debug/ClientSocketForms.vshost.exe.config
SocketCommunication/ClientSocket/ClientSocket/bin/Debug
SocketCommunication/ClientSocket/ClientSocket/bin
SocketCommunication/ClientSocket/ClientSocket/ClientSocketForms.csproj
SocketCommunication/ClientSocket/ClientSocket/ClientSocketTestForm.cs
SocketCommunication/ClientSocket/ClientSocket/ClientSocketTestForm.Designer.cs
SocketCommunication/ClientSocket/ClientSocket/ClientSocketTestForm.resx
SocketCommunication/ClientSocket/ClientSocket/obj/ClientSocketForms.csproj.FileListAbsolute.txt
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.ClientSocketTestForm.resources
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.csproj.GenerateResource.Cache
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.exe
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.pdb
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.Properties.Resources.resources
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.ServerIPForm.resources
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/TempPE
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/Refactor
SocketCommunication/ClientSocket/ClientSocket/obj/Debug
SocketCommunication/ClientSocket/ClientSocket/obj
SocketCommunication/ClientSocket/ClientSocket/Program.cs
SocketCommunication/ClientSocket/ClientSocket/Properties/AssemblyInfo.cs
SocketCommunication/ClientSocket/ClientSocket/Properties/Resources.Designer.cs
SocketCommunication/ClientSocket/ClientSocket/Properties/Resources.resx
SocketCommunication/ClientSocket/ClientSocket/Properties/Settings.Designer.cs
SocketCommunication/ClientSocket/ClientSocket/Properties/Settings.settings
SocketCommunication/ClientSocket/ClientSocket/Properties
SocketCommunication/ClientSocket/ClientSocket/ServerIPForm.cs
SocketCommunication/ClientSocket/ClientSocket/ServerIPForm.Designer.cs
SocketCommunication/ClientSocket/ClientSocket/ServerIPForm.resx
SocketCommunication/ClientSocket/ClientSocket
SocketCommunication/ClientSocket/ClientSocket.sln
SocketCommunication/ClientSocket/ClientSocket.suo
SocketCommunication/ClientSocket
SocketCommunication/ServerSocket/ServerSocket.sln
SocketCommunication/ServerSocket/ServerSocket.suo
SocketCommunication/ServerSocket/ServerSocketForms/bin/Debug/ServerSocketForms.exe
SocketCommunication/ServerSocket/ServerSocketForms/bin/Debug/ServerSocketForms.pdb
SocketCommunication/ServerSocket/ServerSocketForms/bin/Debug/ServerSocketForms.vshost.exe
SocketCommunication/ServerSocket/ServerSocketForms/bin/Debug
SocketCommunication/ServerSocket/ServerSocketForms/bin
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/ServerSocketForms.csproj.GenerateResource.Cache
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/ServerSocketForms.exe
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/ServerSocketForms.pdb
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/ServerSocketForms.Properties.Resources.resources
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/ServerSocketForms.ServerSocketTestForm.resources
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/Refactor
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/TempPE
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug
SocketCommunication/ServerSocket/ServerSocketForms/obj/ServerSocketForms.csproj.FileListAbsolute.txt
SocketCommunication/ServerSocket/ServerSocketForms/obj
SocketCommunication/ServerSocket/ServerSocketForms/Program.cs
SocketCommunication/ServerSocket/ServerSocketForms/Properties/AssemblyInfo.cs
SocketCommunication/ServerSocket/ServerSocketForms/Properties/Resources.Designer.cs
SocketCommunication/ServerSocket/ServerSocketForms/Properties/Resources.resx
SocketCommunication/ServerSocket/ServerSocketForms/Properties/Settings.Designer.cs
SocketCommunication/ServerSocket/ServerSocketForms/Properties/Settings.settings
SocketCommunication/ServerSocket/ServerSocketForms/Properties
SocketCommunication/ServerSocket/ServerSocketForms/ServerSocketForms.csproj
SocketCommunication/ServerSocket/ServerSocketForms/ServerSocketTestForm.cs
SocketCommunication/ServerSocket/ServerSocketForms/ServerSocketTestForm.Designer.cs
SocketCommunication/ServerSocket/ServerSocketForms/ServerSocketTestForm.resx
SocketCommunication/ServerSocket/ServerSocketForms
SocketCommunication/ServerSocket
SocketCommunication
SocketCommunication/ClientSocket/ClientSocket/bin/Debug/ClientSocketForms.exe
SocketCommunication/ClientSocket/ClientSocket/bin/Debug/ClientSocketForms.exe.config
SocketCommunication/ClientSocket/ClientSocket/bin/Debug/ClientSocketForms.pdb
SocketCommunication/ClientSocket/ClientSocket/bin/Debug/ClientSocketForms.vshost.exe
SocketCommunication/ClientSocket/ClientSocket/bin/Debug/ClientSocketForms.vshost.exe.config
SocketCommunication/ClientSocket/ClientSocket/bin/Debug
SocketCommunication/ClientSocket/ClientSocket/bin
SocketCommunication/ClientSocket/ClientSocket/ClientSocketForms.csproj
SocketCommunication/ClientSocket/ClientSocket/ClientSocketTestForm.cs
SocketCommunication/ClientSocket/ClientSocket/ClientSocketTestForm.Designer.cs
SocketCommunication/ClientSocket/ClientSocket/ClientSocketTestForm.resx
SocketCommunication/ClientSocket/ClientSocket/obj/ClientSocketForms.csproj.FileListAbsolute.txt
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.ClientSocketTestForm.resources
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.csproj.GenerateResource.Cache
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.exe
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.pdb
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.Properties.Resources.resources
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/ClientSocketForms.ServerIPForm.resources
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/TempPE
SocketCommunication/ClientSocket/ClientSocket/obj/Debug/Refactor
SocketCommunication/ClientSocket/ClientSocket/obj/Debug
SocketCommunication/ClientSocket/ClientSocket/obj
SocketCommunication/ClientSocket/ClientSocket/Program.cs
SocketCommunication/ClientSocket/ClientSocket/Properties/AssemblyInfo.cs
SocketCommunication/ClientSocket/ClientSocket/Properties/Resources.Designer.cs
SocketCommunication/ClientSocket/ClientSocket/Properties/Resources.resx
SocketCommunication/ClientSocket/ClientSocket/Properties/Settings.Designer.cs
SocketCommunication/ClientSocket/ClientSocket/Properties/Settings.settings
SocketCommunication/ClientSocket/ClientSocket/Properties
SocketCommunication/ClientSocket/ClientSocket/ServerIPForm.cs
SocketCommunication/ClientSocket/ClientSocket/ServerIPForm.Designer.cs
SocketCommunication/ClientSocket/ClientSocket/ServerIPForm.resx
SocketCommunication/ClientSocket/ClientSocket
SocketCommunication/ClientSocket/ClientSocket.sln
SocketCommunication/ClientSocket/ClientSocket.suo
SocketCommunication/ClientSocket
SocketCommunication/ServerSocket/ServerSocket.sln
SocketCommunication/ServerSocket/ServerSocket.suo
SocketCommunication/ServerSocket/ServerSocketForms/bin/Debug/ServerSocketForms.exe
SocketCommunication/ServerSocket/ServerSocketForms/bin/Debug/ServerSocketForms.pdb
SocketCommunication/ServerSocket/ServerSocketForms/bin/Debug/ServerSocketForms.vshost.exe
SocketCommunication/ServerSocket/ServerSocketForms/bin/Debug
SocketCommunication/ServerSocket/ServerSocketForms/bin
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/ServerSocketForms.csproj.GenerateResource.Cache
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/ServerSocketForms.exe
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/ServerSocketForms.pdb
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/ServerSocketForms.Properties.Resources.resources
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/ServerSocketForms.ServerSocketTestForm.resources
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/Refactor
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug/TempPE
SocketCommunication/ServerSocket/ServerSocketForms/obj/Debug
SocketCommunication/ServerSocket/ServerSocketForms/obj/ServerSocketForms.csproj.FileListAbsolute.txt
SocketCommunication/ServerSocket/ServerSocketForms/obj
SocketCommunication/ServerSocket/ServerSocketForms/Program.cs
SocketCommunication/ServerSocket/ServerSocketForms/Properties/AssemblyInfo.cs
SocketCommunication/ServerSocket/ServerSocketForms/Properties/Resources.Designer.cs
SocketCommunication/ServerSocket/ServerSocketForms/Properties/Resources.resx
SocketCommunication/ServerSocket/ServerSocketForms/Properties/Settings.Designer.cs
SocketCommunication/ServerSocket/ServerSocketForms/Properties/Settings.settings
SocketCommunication/ServerSocket/ServerSocketForms/Properties
SocketCommunication/ServerSocket/ServerSocketForms/ServerSocketForms.csproj
SocketCommunication/ServerSocket/ServerSocketForms/ServerSocketTestForm.cs
SocketCommunication/ServerSocket/ServerSocketForms/ServerSocketTestForm.Designer.cs
SocketCommunication/ServerSocket/ServerSocketForms/ServerSocketTestForm.resx
SocketCommunication/ServerSocket/ServerSocketForms
SocketCommunication/ServerSocket
SocketCommunication
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.