文件名称:Server
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 16kb
- 下载次数:
- 0次
- 提 供 者:
- z***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
第一步:用指定的端口号和服务器的ip建立一个EndPoint对像;
第二步:建立一个Socket对像;
第三步:用socket对像的Bind()方法绑定EndPoint;
第四步:用socket对像的Listen()方法开始监听;
第五步:接受到客户端的连接,用socket对像的Accept()方法创建新的socket对像用于和请求的客户端进行通信
第六步:通信结束后一定记得关闭socket -Step one: use the specified port number and server to establish a Endpoint ip like the second step: the creation of a Socket on the image the third step: using socket like the Bind () method to bind EndPoint fourth step: The socket like the Listen () method to start listening Fifth step: accept client connections, using socket like the Accept () method to create a new socket as used on the client and the request to communicate the sixth step: Communication must remember to close after the end of socket
第二步:建立一个Socket对像;
第三步:用socket对像的Bind()方法绑定EndPoint;
第四步:用socket对像的Listen()方法开始监听;
第五步:接受到客户端的连接,用socket对像的Accept()方法创建新的socket对像用于和请求的客户端进行通信
第六步:通信结束后一定记得关闭socket -Step one: use the specified port number and server to establish a Endpoint ip like the second step: the creation of a Socket on the image the third step: using socket like the Bind () method to bind EndPoint fourth step: The socket like the Listen () method to start listening Fifth step: accept client connections, using socket like the Accept () method to create a new socket as used on the client and the request to communicate the sixth step: Communication must remember to close after the end of socket
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Server
......\Server
......\......\bin
......\......\...\Debug
......\......\obj
......\......\...\Debug
......\......\...\Server.csproj.FileList.txt
......\......\...\Server.csproj.FileListAbsolute.txt
......\......\Program.cs
......\......\Properties
......\......\..........\AssemblyInfo.cs
......\......\Server.csproj
......\Server.sln
......\Server
......\......\bin
......\......\...\Debug
......\......\obj
......\......\...\Debug
......\......\...\Server.csproj.FileList.txt
......\......\...\Server.csproj.FileListAbsolute.txt
......\......\Program.cs
......\......\Properties
......\......\..........\AssemblyInfo.cs
......\......\Server.csproj
......\Server.sln