-
本实例将通过ISAPI提供的功能实现访问控制过滤器(Autentication Filter)。可以设定最大访问用户的数量以及授权用户名和密码。...
本实例将通过ISAPI提供的功能实现访问控制过滤器(Autentication Filter)。可以设定最大访问用户的数量以及授权用户名和密码。-example through the provision of functional ISAPI access control filters (Autentication Filter). The visit can set a maximum number of users and the authorized user name and password.
- 2022-12-07 16:35:03下载
- 积分:1
-
shown that current TCP and UDP connections
显示当前TCP和UDP连接情况-shown that current TCP and UDP connections
- 2022-03-06 05:50:46下载
- 积分:1
-
async_client_server_src
很好的异步SOCKET 传输程序 谢谢大家(Good Asynchronous Transfer Program SOCKET Thank you everyone)
- 2007-09-05 10:57:58下载
- 积分:1
-
vb2005
使用VB2005编写的关于winsock控件通信例程,适合新手使用(Written using VB2005 winsock control communication routines for the novice)
- 2012-07-16 18:13:26下载
- 积分:1
-
socket
基于socket与数据库的自动贩货机服务器端和客户端的编程(Socket and the database automatically based on trafficking in goods and client-server programming)
- 2011-05-16 15:45:31下载
- 积分:1
-
TCP
基于TCP的远程字典服务(RemoteLookup).通过在远端主机上搭建一个远程字典服务服务器,其它主机可以通过客户端程序 RemoteLookup将所需要查询的单词传送给远程主机,远程主机字典服务服务器将单词的中文释义结果返回给客户端主机.在启动服务端后,即可用客户端在线查询单词,程序示范了运用没有封装的SOCKET以及Windows SDK编程的典型过程。 -TCP-based remote dictionary service (RemoteLookup). By the remote host, build a dictionary services to the remote server, other hosts can be RemoteLookup client program will need to send a query word in the remote host, remote hosting services, server dictionary words English interpretation of the results returned to the client host. start the server, you can use client-side online query word, the program has not demonstrated the use of packaging SOCKET, as well as the typical Windows SDK programming process.
- 2022-02-09 17:45:08下载
- 积分:1
-
webmail
一个用Java开发的Web邮局,可以使用户通过浏览器访问他们的POP/SMTP服务器,支持多种语言,MIME和虚拟域名! (Java development using a Web mail allows users browser access to their POP/SMTP server, supports multiple languages, MIME, and virtual domain names!)
- 2010-01-23 08:19:24下载
- 积分:1
-
STM32H745_Ethernet
Trying to get Ethernet, LWIP and FreeRTOS working on the STM32H745. Testing on the NUCLEO-H745ZI-Q using FW_1.7 and the STM32CubeIDE.
## Instructions on how to get started:
* [LWIP without RTOS](Documentation/lwip_nortos.md)
* [LWIP with RTOS](Dcumentation/lwip_rtos.md)
## Bugs and improvements
* [SysTick not increasing ticks](Documentation/no_systick.md)
* [No DHCP IP when starting without ethernet cable](Documentation/dhcp_nocable.md)
## Current status:
* RTOS works (blinky)
* LWIP works (nucleo board gets IP from DHCP on router)
* HTTP test server works (navigate to http:///index.html for demo)
- 2021-07-25 00:31:02下载
- 积分: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
-
socket控件,由vb编写实现server与client的通信
socket控件,由vb编写实现server与client的通信-visual basic socket component, you can use this component to build a server/client communication application easily.
- 2022-08-25 15:25:47下载
- 积分:1