Description: Socket to achieve client and server communication source
Program Description:
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
- [MulBroadcast] - A VC/C++ Online radio program source cod
- [Chapter] - socket network chat room procedures, vs2
- [Csharp] - C#网络编程源码+socket+ftp+SNMP+邮件+流媒体.rar
- [socket] - Socket for a simple message GetHttp achi
- [RecvData] - vc2005 receive data
- [GetHtml] - VC2005 category CHttpFile write code to
- [Test] - This following program constructs a cust
File list (Check if you may need any files):
SocketCommunication\ClientSocket\ClientSocket\app.config
...................\............\............\bin\Debug\ClientSocketForms.exe
...................\............\............\...\.....\ClientSocketForms.exe.config
...................\............\............\...\.....\ClientSocketForms.pdb
...................\............\............\...\.....\ClientSocketForms.vshost.exe
...................\............\............\...\.....\ClientSocketForms.vshost.exe.config
...................\............\............\...\Debug
...................\............\............\bin
...................\............\............\ClientSocketForms.csproj
...................\............\............\ClientSocketTestForm.cs
...................\............\............\ClientSocketTestForm.Designer.cs
...................\............\............\ClientSocketTestForm.resx
...................\............\............\obj\ClientSocketForms.csproj.FileListAbsolute.txt
...................\............\............\...\Debug\ClientSocketForms.ClientSocketTestForm.resources
...................\............\............\...\.....\ClientSocketForms.csproj.GenerateResource.Cache
...................\............\............\...\.....\ClientSocketForms.exe
...................\............\............\...\.....\ClientSocketForms.pdb
...................\............\............\...\.....\ClientSocketForms.Properties.Resources.resources
...................\............\............\...\.....\ClientSocketForms.ServerIPForm.resources
...................\............\............\...\.....\TempPE\Properties.Resources.Designer.cs.dll
...................\............\............\...\.....\TempPE
...................\............\............\...\.....\Refactor
...................\............\............\...\Debug
...................\............\............\obj
...................\............\............\Program.cs
...................\............\............\...perties\AssemblyInfo.cs
...................\............\............\..........\Resources.Designer.cs
...................\............\............\..........\Resources.resx
...................\............\............\..........\Settings.Designer.cs
...................\............\............\..........\Settings.settings
...................\............\............\Properties
...................\............\............\ServerIPForm.cs
...................\............\............\ServerIPForm.Designer.cs
...................\............\............\ServerIPForm.resx
...................\............\ClientSocket
...................\............\ClientSocket.sln
...................\............\ClientSocket.suo
...................\ClientSocket
...................\ServerSocket\ServerSocket.sln
...................\............\ServerSocket.suo
...................\............\............Forms\bin\Debug\ServerSocketForms.exe
...................\............\.................\...\.....\ServerSocketForms.pdb
...................\............\.................\...\.....\ServerSocketForms.vshost.exe
...................\............\.................\...\Debug
...................\............\.................\bin
...................\............\.................\obj\Debug\ServerSocketForms.csproj.GenerateResource.Cache
...................\............\.................\...\.....\ServerSocketForms.exe
...................\............\.................\...\.....\ServerSocketForms.pdb
...................\............\.................\...\.....\ServerSocketForms.Properties.Resources.resources
...................\............\.................\...\.....\ServerSocketForms.ServerSocketTestForm.resources
...................\............\.................\...\.....\Refactor
...................\............\.................\...\.....\TempPE
...................\............\.................\...\Debug
...................\............\.................\...\ServerSocketForms.csproj.FileListAbsolute.txt
...................\............\.................\obj
...................\............\....