登录
首页 » C++ Builder » net

net

于 2013-07-30 发布 文件大小:162KB
0 203
下载积分: 1 下载次数: 12

代码说明:

  bcb中很强大的iocp服务器和客户端类,直接继承 创建对象就可使用(bcb iocp a very powerful server and client classes can be used to create objects inherit directly)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • wlan_vc
    再者个网络时代,伴随着有线网络的广泛应用,以快捷高效,组网灵活为优势的无线网络技术也在飞速发展。本文将简单介绍无线局域网相关技术及其相对有线局域网的优势,并具体介绍如何通过VC6.0设计和实现能同时运行在有线局域网和无线局域网上的简单通信软件。(network era, along with cable network widely used to provide a quick and efficient. flexible network edge wireless network technology is also expanding rapidly. This article briefly introduces wireless LAN technology and its relative advantages of the wired LAN. and the specific details of how VC6.0 design and implementation can also run on the LAN cable and wireless LAN simple communications software.)
    2007-05-16 16:46:17下载
    积分:1
  • sniffer
    说明:  VC++编程实现网络嗅探器 简单 但是完整可运行。比较基础(VC++ programming for network sniffer)
    2011-03-11 09:47:09下载
    积分:1
  • 即时通信
    客户端、服务端实现在线即时聊天
    2014-01-24下载
    积分:1
  • C#实现客户端/服务器端通讯(二进制形式)实例下载
    C#实现客户端/服务器端通讯(二进制形式)实例下载
    2013-10-28下载
    积分:1
  • C# 检测本机是否连 实例源码下载
    no
    2013-10-11下载
    积分:1
  • FMS连接FlashRemoting(附示例源码下载)
    FMS连接FlashRemoting(附示例源码下载)
    2013-12-28下载
    积分:1
  • MH2.3CODE
    11mh的辅助源码,下载研究去吧!!!!(Source of the 11mh the secondary, download study go! ! ! !)
    2013-03-22 13:06:51下载
    积分:1
  • UDPServer
    UDP服务器程序,提供无连接不可靠的数据传输服务(UDP server program that provides connectionless unreliable data transmission service)
    2011-06-13 17:03:17下载
    积分:1
  • PIS.Production.BLL
    说明:  将产品的详细信息逻辑处理导入到数据库中。集成处理方法(Import the details logical processing of the product into the database. Integrated processing method)
    2019-10-20 16:58:03下载
    积分: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
  • 696516资源总数
  • 106428会员总数
  • 7今日下载