服务器用来接收文件,不停的监听端口,有发送文件就马上开始接收文件
服务端代码:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Net; using System.Threading; using System.Net.Sockets; using System.IO; ...[ 查看全文 ]