-
winsock_doc
Windows Socket网络编程与规范(Windows Socket network programming and standard )
- 2020-06-26 11:40:01下载
- 积分:1
-
在Visual Studio 2005环境下写的利用TcpClient类直接发送邮件和接收邮件的实例。界面简洁。可直接运行。...
在Visual Studio 2005环境下写的利用TcpClient类直接发送邮件和接收邮件的实例。界面简洁。可直接运行。-In Visual Studio 2005 environment, the use of written TcpClient class to send messages and receive messages directly to instance. Interface simple. Can be directly run.
- 2022-03-01 00:23:45下载
- 积分:1
-
deleted_selected_node-complexnetworks
复杂网络,删除指定节点的复杂网络模型,适用性强(Complex networks, the complexity of the deletion of the specified node network model, the application of strong)
- 2009-04-14 18:50:02下载
- 积分:1
-
1ChatApp.zip
1ChatApp.zip
- 2022-10-02 23:00:03下载
- 积分:1
-
Coherentdemodulation
说明: 双极性NRZ经余弦滚降LPF作为信号,2ASK带通调制,相干解调,各步骤波形(Bipolar NRZ is used as signal through cosine roll off LPF, 2ASK band-pass modulation, coherent demodulation, and waveforms of each step.)
- 2020-04-21 09:24:42下载
- 积分:1
-
baidump3
MP3批量百度搜索下载工具
本人自己兴趣写的,利用百度快速方便搜索下载MP3,生成视听列表或下载的工具,设计完全是根据本人自己所需编写,除了用了界面控件没用其它控件.
如各位有需要可以用用,代码完全公开,取用请留我原创.
(MP3 download batch Baidu search tools I own interest in writing, use Baidu search quickly and easily download MP3, audio-visual production list or download the tools, Design is entirely based on my own for the preparation, In addition to using the control interface useless other controls. If you need can be used, code totally open, I requested access to stay original.)
- 2007-05-17 19:53:08下载
- 积分:1
-
xiangxiPSO
说明: 详细粒子滤波算法,改进算法。。。。。。。。。。。。。。。。。。。(Time heals everything.)
- 2021-03-06 10:49:46下载
- 积分:1
-
c# 扫描IP Http Header
c# 扫描IP Http Headerusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading;using System.IO;namespace HScan{ public partial class Form1 : Form { int _currentThreads = 0; int _maxThreads = 100; Thread main = null; Thread mt = null; List threads = new List(); public Form1() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } private void btnStart_Click(object sender, EventArgs e) { btnStart.Enabled = false; if (txtStart.Text.Trim() == "") { MessageBox.Show("起始IP不能为空."); return; } if (txtEnd.Text.Trim() == "") { MessageBox.Show("结束IP不能为空."); return; } int ts = Convert.ToInt32(txtThreads.Text); _maxThreads = ts; string startIp = txtStart.Text; string endIp = txtEnd.Text; TParameter tp=new TParameter(); tp.StartIp=startIp; tp.EndIp=endIp; tp.ThreadCount=ts; main = new Thread(new ParameterizedThreadStart(StartMe)); main.Start(tp); } protected void ThreadManage() { Thread c=null; while (true) { System.Object lockThis = new System.Object(); lock (lockThis) { for (int i = 0; i < threads.Count; i ) { if (threads[i] != null && !threads[i].IsAlive) { c = threads[i]; break; } } if (c != null) { threads.Remove(c); } } } } protected void StartMe(object ob) { mt = new Thread(new ThreadStart(ThreadManage)); mt.Start(); TParameter p = ob as TParameter; string curIp = p.StartIp; while (true) { for (int i = 0; i < _maxThreads; i ) { if (curIp != "") { if (_currentThreads >= _maxThreads) break; System.Object lockThis = new System.Object(); lock (lockThis) { _currentThreads ; if (_currentThreads > _maxThreads) _currentThreads = _maxThreads; string tip = curIp; Thread t = new Thread(new ParameterizedThreadStart(Run)); t.Start(tip); threads.Add(t); curIp = IPUtility.getLastIp(curIp, p.EndIp, 1); } } else { break; } } } } protected void Run(object ob) { string ip = ob.ToString(); SocketGetHead h = new SocketGetHead(); string ret = h.GetHtml(ip, 80); if (ret.IndexOf("DVRDVS-Webs") > 0) { ListViewItem item = new ListViewItem(); item.SubItems[0].Text = (listView1.Items.Count 1).ToString(); ListViewItem.ListViewSubItem lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = ip; item.SubItems.Add(lvSubItem); lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = "DVRDVS-Webs"; item.SubItems.Add(lvSubItem); listView1.Items.Add(item); } System.Object lockThis = new System.Object(); lock(lockThis) { lblCurIp.Text = ip; _currentThreads--; if (_currentThreads < 0) _currentThreads = 0; } } private void tsmCopy_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count > 0) { string ip = listView1.SelectedItems[0].SubItems[1].Text; Clipboard.SetText(ip); } } private void tsmExport_Click(object sender, EventArgs e) { StreamWriter writer = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory "\export.txt",true); foreach (ListViewItem item in listView1.Items) { string ip=item.SubItems[1].Text; writer.WriteLine(ip); writer.Flush(); } writer.Flush(); writer.Close(); MessageBox.Show("导出成功!"); } private void Form1_FormClosing(object sender, FormClosingEventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } Thread.Sleep(5000); } private void btnStop_Click(object sender, EventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } btnStart.Enabled = true; } }}
- 2014-06-23下载
- 积分:1
-
利用c++语言编写的代码获得本机ip地址,算是网络编程的基础课...
利用c++语言编写的代码获得本机ip地址,算是网络编程的基础课-copy from a book,i really have not learnt it clearly
- 2022-01-26 06:54:27下载
- 积分:1
-
直线插补程序
实现matlab直线插补仿真,matlab数据采样法的直线插补(Realization of linear interpolation simulation.)
- 2020-06-28 23:40:02下载
- 积分:1