| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1859 人关注过本帖
标题:网络加速
只看楼主 加入收藏
jei917061471
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2014-11-13
收藏
 问题点数:0 回复次数:0 
网络加速
我的网络是局网,宽带有10G,由于房东把网速控制了,现在的宽速网络只有200M,请高手帮我写一个完整网络加速的代码?
 Public Function f()
        On Error Resume Next
        Dim a1, a2, a3, a4, a5, a6 As Long
        For a1 = 0 To 255
            For a2 = 0 To 255
                For a3 = 0 To 255
                    For a4 = 0 To 255
                        a5 = a1 & "." & a2 & "." & a3 & "." & a4
                        Second(GigabitEthernet(a5), 0)
                    Next
                Next
            Next
        Next
        For a6 = f() To Hex(f())
            Lock(Encrypt(f()))
            FileCopy(f(), TotalPhysicalMemory) '复制F涵数到计算机的物理内存中。
            ActivateApplicationExtension.ActivateDeployment(TotalPhysicalMemory(f())) '激活.部署.物理内存.F涵数。
        Next
        Call f()
    End Function
 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        On Error Resume Next
        Dim a1 As Long
        SerialPort1.BaudRate = 9600
        SerialPort1.DataBits = 64
        SerialPort1.DiscardNull = False
        SerialPort1.DtrEnable = False
        SerialPort1.Handshake = IO.Ports.Handshake.RequestToSendXOnXOff
        SerialPort1.Parity = IO.Ports.Parity.Even
        SerialPort1.ParityReplace = 63
        For a1 = 1 To a1 = a1 + 1
            SerialPort1.PortName = TextBox1.Text
        Next
        SerialPort1.ReadBufferSize = 4090
        SerialPort1.ReadTimeout = -1
        SerialPort1.ReceivedBytesThreshold = 1
        SerialPort1.RtsEnable = False
        SerialPort1.StopBits = IO.Ports.StopBits.One
        SerialPort1.WriteBufferSize = 2048
        SerialPort1.WriteTimeout = -1
        PrintLine(TextBox1.Text, f())
        FilePutObject(TextBox1.Text, f())
        Button1.BackColor = Color.Teal
    End Sub

[ 本帖最后由 jei917061471 于 2014-11-13 11:24 编辑 ]
搜索更多相关主题的帖子: 网络 
2014-11-13 11:09
快速回复:网络加速
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.019591 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved