文件名称:TcpUdp1
- 所属分类:
- ICQ/即时通讯
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-03-06
- 文件大小:
- 118kb
- 下载次数:
- 0次
- 提 供 者:
- 郭*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实现TCP流通信和UDP数据报通信服务端开启服务,根据IP地址和端口号获取网络端点,创建监听Scoket根据网络端点绑定服务器,保持监听状态,接受客户端的连接请求,为连接创建一个新的Scoket(clientScoket),服务端可以根据clientScoket获得该客户端发送的消息和发送消息给客户端。
2,客户端连接服务器,创建一个serverScoket根据客户端的网络端点与服务器建立连接,客户端可以获取服务端的消息也可以发送消息给服务端。
-The TCP stream communication and UDP datagram communication server open service access to network endpoints, based on the IP address and port number, create listening Scoket bind server network endpoints, keep listening state to accept the client' s connection request connection to create a new Scoket (clientScoket), the server can clientScoket the client sends the message and send the message to the client. 2 client to connect to the server, to create a serverScoket according to the client' s network endpoint to establish a connection with the server, the client can get the service end of the message can also send messages to the service side.
2,客户端连接服务器,创建一个serverScoket根据客户端的网络端点与服务器建立连接,客户端可以获取服务端的消息也可以发送消息给服务端。
-The TCP stream communication and UDP datagram communication server open service access to network endpoints, based on the IP address and port number, create listening Scoket bind server network endpoints, keep listening state to accept the client' s connection request connection to create a new Scoket (clientScoket), the server can clientScoket the client sends the message and send the message to the client. 2 client to connect to the server, to create a serverScoket according to the client' s network endpoint to establish a connection with the server, the client can get the service end of the message can also send messages to the service side.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TcpUdp1
.......\TCPServer
.......\.........\App.config
.......\.........\bin
.......\.........\...\Debug
.......\.........\...\.....\TCPServer.exe
.......\.........\...\.....\TCPServer.exe.config
.......\.........\...\.....\TCPServer.pdb
.......\.........\...\.....\TCPServer.vshost.exe
.......\.........\...\.....\TCPServer.vshost.exe.config
.......\.........\...\.....\TCPServer.vshost.exe.manifest
.......\.........\...\Release
.......\.........\obj
.......\.........\...\Debug
.......\.........\...\.....\DesignTimeResolveAssemblyReferences.cache
.......\.........\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
.......\.........\...\.....\TCPServer.csproj.FileListAbsolute.txt
.......\.........\...\.....\TCPServer.csproj.GenerateResource.Cache
.......\.........\...\.....\TCPServer.csprojResolveAssemblyReference.cache
.......\.........\...\.....\TCPServer.exe
.......\.........\...\.....\TCPServer.pdb
.......\.........\...\.....\TCPServer.Properties.Resources.resources
.......\.........\...\.....\TCPServer.TCPServer.resources
.......\.........\...\.....\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
.......\.........\...\.....\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
.......\.........\...\.....\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
.......\.........\...\.....\TempPE
.......\.........\Program.cs
.......\.........\Properties
.......\.........\..........\AssemblyInfo.cs
.......\.........\..........\Resources.Designer.cs
.......\.........\..........\Resources.resx
.......\.........\..........\Settings.Designer.cs
.......\.........\..........\Settings.settings
.......\.........\TCPServer.cs
.......\.........\TCPServer.csproj
.......\.........\TCPServer.Designer.cs
.......\.........\TCPServer.resx
.......\TcpUdp1
.......\TcpUdp1.sln
.......\TcpUdp1.v11.suo
.......\.......\App.config
.......\.......\bin
.......\.......\...\Debug
.......\.......\...\.....\TcpUdp1.exe
.......\.......\...\.....\TcpUdp1.exe.config
.......\.......\...\.....\TcpUdp1.pdb
.......\.......\...\.....\TcpUdp1.vshost.exe
.......\.......\...\.....\TcpUdp1.vshost.exe.config
.......\.......\...\.....\TcpUdp1.vshost.exe.manifest
.......\.......\...\Release
.......\.......\obj
.......\.......\...\Debug
.......\.......\...\.....\DesignTimeResolveAssemblyReferences.cache
.......\.......\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
.......\.......\...\.....\TcpUdp1.csproj.FileListAbsolute.txt
.......\.......\...\.....\TcpUdp1.csproj.GenerateResource.Cache
.......\.......\...\.....\TcpUdp1.csprojResolveAssemblyReference.cache
.......\.......\...\.....\TcpUdp1.exe
.......\.......\...\.....\TcpUdp1.pdb
.......\.......\...\.....\TcpUdp1.Properties.Resources.resources
.......\.......\...\.....\TcpUdp1.TCPClient.resources
.......\.......\...\.....\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
.......\.......\...\.....\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
.......\.......\...\.....\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
.......\.......\...\.....\TempPE
.......\.......\Program.cs
.......\.......\Properties
.......\.......\..........\AssemblyInfo.cs
.......\.......\..........\Resources.Designer.cs
.......\.......\..........\Resources.resx
.......\.......\..........\Settings.Designer.cs
.......\.......\..........\Settings.settings
.......\.......\TCPClient.cs
.......\.......\TCPClient.Designer.cs
.......\.......\TCPClient.resx
.......\.......\TcpUdp1.csproj