2016年1月13日

UDP发送和接收

摘要: 发送函数public bool udpSend(string ip, int port, byte[] data){ Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Ud... 阅读全文

posted @ 2016-01-13 08:27 万里驰骋 阅读(757) 评论(0) 推荐(0)

C#打开文件对话框

摘要: OpenFileDialog ofd = new OpenFileDialog();ofd.InitialDirectory = System.Environment.CurrentDirectory;//设定默认打开路径if (ofd.ShowDialog() == DialogResult.OK... 阅读全文

posted @ 2016-01-13 08:23 万里驰骋 阅读(360) 评论(0) 推荐(0)

导航